summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-fsl-lib.h
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2015-08-03 18:57:21 +0300
committerJames Bottomley <JBottomley@Odin.com>2015-10-27 05:08:42 +0300
commitc42b3654f48bc06189a2d99629c9cf7bb79e8fe3 (patch)
tree2358efcf0c5477bf9556543f5a262be86d2991f0 /drivers/spi/spi-fsl-lib.h
parentfd6ddfa4c1ddfb4a149b31845144b4cf3cbef54d (diff)
downloadlinux-c42b3654f48bc06189a2d99629c9cf7bb79e8fe3.tar.xz
SCSI: refactor device-matching code in scsi_devinfo.c
In drivers/scsi/scsi_devinfo.c, the scsi_dev_info_list_del_keyed() and scsi_get_device_flags_keyed() routines contain a large amount of duplicate code for finding vendor/product matches in a scsi_dev_info_list. This patch factors out the duplicate code and puts it in a separate function, scsi_dev_info_list_find(). Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Suggested-by: Giulio Bernardi <ugilio@gmail.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/spi/spi-fsl-lib.h')
0 files changed, 0 insertions, 0 deletions