On 01. 10. 19 1:08, Dmitry Torokhov wrote:
On Tue, Sep 24, 2019 at 05:02:11PM +0800, Anson Huang wrote:
Add helper variable dev = &pdev->dev to simply the code.
Do we get any code savings from this?
I noticed Anson submitted similar patches into various other subsystems.
Here [1] is a very detailed response from David Laight shedding some light
on this topic.
[1] https://lkml.org/lkml/2019/9/24/151
Signed-off-by: Anson Huang <Anson.Huang@xxxxxxx>
---
drivers/input/touchscreen/imx6ul_tsc.c | 37 +++++++++++++++++-----------------
1 file changed, 19 insertions(+), 18 deletions(-)