lkml.org 
[lkml]   [2013]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/5] scsi: use platform helper macro and wrapper functions
From
Date
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




\
 
 \ /
  Last update: 2013-05-30 17:01    [W:0.078 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site