Re: [PATCH] UIO: Resend: Change driver name of uio_pdrv

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Uwe
Date: Friday, September 19, 2008 - 12:40 am

Hello Hans,

[Added Magnus Damm (= author of uio_pdrv_genirq) to Cc:]

On Thu, Sep 18, 2008 at 11:03:07PM +0200, Hans J. Koch wrote:
I want to suggest to rename uio_pdrv_genirq to uio_genirq instead.  In
my eyes this would be more clear.  IMHO the pdrv suffix doesn't yield
more clearity because it is only used in a certain namespace---namely
that of platform devices.  So e.g.

	/sys/bus/platform/devices/uio_pdrv.0

isn't any better than

	/sys/bus/platform/devices/uio.0

.  Looking at the name of other platform drivers using

	git grep -E '_pdrv(_.*)?"' 

I get three false positives[1] and uio_pdrv_genirq (driver and some
users in arch/sh/kernel/cpu/sh4a/setup-sh7343.c).  So the _pdrv suffix
doesn't seem very common.

Just my 0.02€

Best regards
Uwe

[1] in drivers/scsi/megaraid.c
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] UIO: Resend: Change driver name of uio_pdrv, Hans J. Koch, (Thu Sep 18, 2:03 pm)
Re: [PATCH] UIO: Resend: Change driver name of uio_pdrv, Uwe , (Fri Sep 19, 12:40 am)
Re: [PATCH] UIO: Resend: Change driver name of uio_pdrv, Hans J. Koch, (Mon Sep 22, 1:08 pm)