scsi_sysfs: add 'is_bin_visible' callback
authorHannes Reinecke <hare@suse.de>
Thu, 3 Mar 2016 06:41:24 +0000 (07:41 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 5 Mar 2016 22:10:03 +0000 (17:10 -0500)
commit7e47976bcff23cbe011635e8931855cd3fb3aa6f
tree8f1afbfe015a629518199edc7d544cd2ee0e2918
parentfddbeb80a904aae41c84ed566e2b0d1de55907df
scsi_sysfs: add 'is_bin_visible' callback

Add 'is_bin_visible' callback to blank out unsupported vpd pages.

Reviewed-by: Shane Seymour <shane.seymour@hpe.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_sysfs.c