[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1369924699.1972.4.camel@dabdike.int.hansenpartnership.com>
Date: Thu, 30 May 2013 07:38:19 -0700
From: James Bottomley <James.Bottomley@...senPartnership.com>
To: Kefeng Wang <wangkefeng.wang@...wei.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
guohanjun@...wei.com
Subject: Re: [PATCH 0/5] scsi: use platform helper macro and wrapper
functions
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists