Re: [PATCH next 09/25] input: keyboard: Use dev_get_drvdata()

2019-04-23 Thread Dmitry Torokhov
Hi Kefeng, On Tue, Apr 23, 2019 at 03:50:04PM +0800, Kefeng Wang wrote: > Using dev_get_drvdata directly. This assumes that generic device's driver data is exactly the same as platform device's driver data. This is true today, but does not have to be true tomorrow. What is the benefit of violati

[PATCH next 09/25] input: keyboard: Use dev_get_drvdata()

2019-04-23 Thread Kefeng Wang
Using dev_get_drvdata directly. Cc: Dmitry Torokhov Cc: linux-in...@vger.kernel.org Signed-off-by: Kefeng Wang --- drivers/input/keyboard/ep93xx_keypad.c | 10 -- drivers/input/keyboard/gpio_keys.c | 6 ++ drivers/input/keyboard/imx_keypad.c | 10 -- drivers/in