Re: [PATCH 0/5] scsi: use platform helper macro and wrapperfunctions

From: James Bottomley
Date: Thu May 30 2013 - 10:38:33 EST


On Thu, 2013-05-30 at 20:09 +0800, Kefeng Wang wrote:
> use module_platform_driver() and paltform{set,get}_drvdata to simpily code,
> and patch 2/5 delete unnecessery drvdate set to null.
>
> Kefeng Wang (5):
> scsi: jazz: use module_platform_driver() and
> platform_{set,get}_drvdata
> scsi: sun: use module_platform_driver() and platform_{set,get}_drvdata
> scsi: qlogicpti: use module_platform_driver() and
> platform_{set,get}_drvdata
> scsi: sun3x: use module_platform_driver() and
> platform_{set,get}_drvdata
> scsi: sni: use module_platform_driver() and platform_{set,get}_drvdata
>
> drivers/scsi/jazz_esp.c | 17 +++--------------
> drivers/scsi/qlogicpti.c | 17 +++--------------
> drivers/scsi/sni_53c710.c | 17 +++--------------
> drivers/scsi/sun3x_esp.c | 16 +++-------------
> drivers/scsi/sun_esp.c | 19 +++----------------
> 5 files changed, 15 insertions(+), 71 deletions(-)

There doesn't seem to be much point to these patches since either idiom
is fine and easily understood. We also try to touch the ancient drivers
as little as possible since it can be months before anyone actually
tries them out and notices that something got broken, so the rule for
them is obvious bug fixes only.

James


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/