Messages in this thread | | | From | Fuqian Huang <> | Date | Tue, 2 Jul 2019 16:18:32 +0800 | 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@gmail.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
| |