scsi: qlogicpti: Use module_platform_driver to simplify the code
authorLiu Shixin <liushixin2@huawei.com>
Mon, 14 Sep 2020 06:54:03 +0000 (14:54 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 3 Oct 2020 01:52:53 +0000 (21:52 -0400)
commite4c6d2872e25fc101d008235eeace732dd888798
tree908ae1c19538178e52451475ef109bf55496d982
parentd30fbf2ce12f12d197dbd8ee647627369d96e712
scsi: qlogicpti: Use module_platform_driver to simplify the code

Use module_platform_driver() to eliminate boilerplate code.

Link: https://lore.kernel.org/r/20200914065403.3726462-1-liushixin2@huawei.com
Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qlogicpti.c