From: "Uwe Kleine-König" <ukleinek@strlen.de>
To: "Hans J. Koch" <hjk@linutronix.de>
Cc: Greg KH <gregkh@suse.de>, LKML <linux-kernel@vger.kernel.org>,
Magnus Damm <damm@igel.co.jp>
Subject: Re: [PATCH] UIO: Resend: Change driver name of uio_pdrv
Date: Fri, 19 Sep 2008 09:40:34 +0200 [thread overview]
Message-ID: <20080919074034.GA8945@strlen.de> (raw)
In-Reply-To: <20080918210306.GC2991@local>
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:
> The patch below was already discussed and accepted:
> http://lkml.org/lkml/2008/7/7/409
>
> It somehow got lost (probably because I forgot it when I sent my queue
> to Greg...). So, here it is again:
>
> -------------8<------------------------
>
> The generic UIO platform device driver should be given a unique driver ID and
> not just "uio". This is especially important since we now have a similar driver
> named uio_pdrv_genirq. Currently, there's no user of this driver in the
> mainline kernel.
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
next prev parent reply other threads:[~2008-09-19 7:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-18 21:03 [PATCH] UIO: Resend: Change driver name of uio_pdrv Hans J. Koch
2008-09-19 7:40 ` Uwe Kleine-König [this message]
2008-09-22 20:08 ` Hans J. Koch
2008-09-22 20:38 ` Uwe Kleine-König
2008-09-23 23:25 ` patch uio-change-driver-name-of-uio_pdrv.patch added to gregkh-2.6 tree gregkh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080919074034.GA8945@strlen.de \
--to=ukleinek@strlen.de \
--cc=damm@igel.co.jp \
--cc=gregkh@suse.de \
--cc=hjk@linutronix.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).