Re: [PATCH 1/5] Input: pixcir_i2c_ts - Remove unneeded gpio.h header file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dmitry,

On Tue, Oct 8, 2019 at 3:44 PM Dmitry Torokhov
<dmitry.torokhov@xxxxxxxxx> wrote:

> I guess we can also do this:
>
> Input: pixcir_i2c_ts - remove platform data
>
> From: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
>
> Previous change moved platform data definition into the driver, making it
> unusable for users. Given that we want to move away from custom platform
> data structures, and always use device properties (DT, ACPI or static) to
> configure devices, let's complete the removal.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> ---
>  drivers/input/touchscreen/pixcir_i2c_ts.c |  100 +++++++----------------------
>  1 file changed, 25 insertions(+), 75 deletions(-)

Yes, this simplifies the code a lot:

Tested-by: Fabio Estevam <festevam@xxxxxxxxx>



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux