[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABXRUiSO2Fos1V3hR5t3AviZ9Hit_y+E-Tp3PNOQj6-FKUBJBw@mail.gmail.com>
Date: Tue, 2 Jul 2019 16:18:32 +0800
From: Fuqian Huang <huangfq.daxian@...il.com>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>,
Vladimir Zapolskiy <vz@...ia.com>,
Sylvain Lemieux <slemieux.tyco@...il.com>,
Laxman Dewangan <ldewangan@...dia.com>,
Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
Olof Johansson <olof@...om.net>,
H Hartley Sweeten <hsweeten@...ionengravers.com>,
Arnd Bergmann <arnd@...db.de>, Enrico Weigelt <info@...ux.net>,
Thomas Gleixner <tglx@...utronix.de>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Kate Stewart <kstewart@...uxfoundation.org>,
Florian Fainelli <f.fainelli@...il.com>,
Anson Huang <anson.huang@....com>,
Richard Fontana <rfontana@...hat.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Allison Randal <allison@...utok.net>,
Christian Hoff <christian_hoff@....net>,
Tony Lindgren <tony@...mide.com>,
Alexios Zavras <alexios.zavras@...el.com>,
Gabriel Fernandez <gabriel.fernandez@...com>,
Luca Weiss <luca@...tu.xyz>, Rob Herring <robh@...nel.org>,
Dan Carpenter <dan.carpenter@...cle.com>,
Brian Masney <masneyb@...tation.org>,
Lee Jones <lee.jones@...aro.org>,
Pascal PAILLET-LME <p.paillet@...com>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-tegra@...r.kernel.org
Subject: Re: [PATCH 2/4] input: keyboard/mouse/touchscreen/misc: Use dev_get_drvdata()
I am not an expert on this. I just write a coccinelle script to search
this kind of misuse and fix it in a naive way.
Could you tell me about how to use the proper bus accessors? Then I
will fix it up and resend a v2 patch set.
Thanks.
Dmitry Torokhov <dmitry.torokhov@...il.com> 於 2019年7月1日週一 下午3:52寫道:
>
> Hi Fuqian,
>
> On Mon, Jul 01, 2019 at 11:23:12AM +0800, Fuqian Huang wrote:
> > Using dev_get_drvdata directly.
> >
>
> I prefer using proper bus accessors.
>
> Thanks.
>
> --
> Dmitry
Powered by blists - more mailing lists