Re: [PATCH 2/5] Input: zinitix - Add dev variable in state
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2022-05-27 05:37:25
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2022-05-27 05:37:25
On Sun, Apr 10, 2022 at 02:00:56PM +0200, Linus Walleij wrote:
To avoid several steps of dereferencing the struct device from the client, add a struct device *dev pointer to the state container so we can easily get to the struct device. This makes the code more compact and easier to read.
Same concern as the previous patch... Thanks. -- Dmitry