From: Sakari Ailus <sakari.ailus@iki.fi>
To: Javier Martinez Canillas <javier@osg.samsung.com>
Cc: linux-kernel@vger.kernel.org,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Pavel Machek <pavel@ucw.cz>,
linux-media@vger.kernel.org
Subject: Re: [PATCH] [media] et8ek8: Export OF device ID as module aliases
Date: Mon, 20 Feb 2017 23:30:43 +0200 [thread overview]
Message-ID: <20170220213043.GW16975@valkosipuli.retiisi.org.uk> (raw)
In-Reply-To: <20170220201616.15028-1-javier@osg.samsung.com>
On Mon, Feb 20, 2017 at 05:16:16PM -0300, Javier Martinez Canillas wrote:
> The I2C core always reports a MODALIAS of the form i2c:<foo> even if the
> device was registered via OF, this means that exporting the OF device ID
> table device aliases in the module is not needed. But in order to change
> how the core reports modaliases to user-space, it's better to export it.
>
> Before this patch:
>
> $ modinfo drivers/media/i2c/et8ek8/et8ek8.ko | grep alias
> alias: i2c:et8ek8
>
> After this patch:
>
> $ modinfo drivers/media/i2c/et8ek8/et8ek8.ko | grep alias
> alias: i2c:et8ek8
> alias: of:N*T*Ctoshiba,et8ek8C*
> alias: of:N*T*Ctoshiba,et8ek8
>
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Thanks!
Applied to my tree (for-v4.12 branch).
--
Sakari Ailus
e-mail: sakari.ailus@iki.fi XMPP: sailus@retiisi.org.uk
prev parent reply other threads:[~2017-02-20 21:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-20 20:16 Javier Martinez Canillas
2017-02-20 21:30 ` Sakari Ailus [this message]
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=20170220213043.GW16975@valkosipuli.retiisi.org.uk \
--to=sakari.ailus@iki.fi \
--cc=javier@osg.samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=pavel@ucw.cz \
/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
all inboxes | Powered by JetHome®