Re: [PATCH 00/13] Input: Automated coccinelle cleanup (take 2)

From: Dmitry Torokhov
Date: Sun Jan 22 2017 - 03:32:12 EST


On Sat, Jan 21, 2017 at 10:45:52AM -0800, Guenter Roeck wrote:
> This patch series is the result of applying a set of coccinelle semantic
> patches to the input subsystem. The patches are only cleanup patches;
> there is little or no change in functionality.
>
> This time around, the patches are combined into groups instead of per-file.
> Each patch has only a single coccinelle rule applied, and only affects a
> single directory in the input subsystem.
>
> As with the previous patch series, removed calls to platform_set_drvdata()
> and i2c_set_clientdata() deserve extra scrutiny from reviewers.
>
> The conversion was done automatically with coccinelle using various semantic
> patches. The semantic patches and the scripts used to generate this commit
> log are either attached to the commits, or they are available at
> https://github.com/groeck/coccinelle-patches.
>
> The series was build tested on kerneltests.org and by the 0day build system.
>
> The patch series is based on v4.10-rc4, with input/next (sha 72d1f2346ded5)
> merged on top. For convenience, the series is available at:
> git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git input-base
>
> ----------------------------------------------------------------
> Guenter Roeck (13):
> Input: keyboard - Drop calls to platform_set_drvdata and i2c_set_clientdata
> Input: misc - Drop calls to platform_set_drvdata and i2c_set_clientdata
> Input: touchscreen - Drop calls to platform_set_drvdata and i2c_set_clientdata
> Input: keyboard - Use local variables consistently
> Input: misc - Use local variables consistently
> Input: mouse Use local variables consistently
> Input: rmi4 - Use local variables consistently
> Input: touchscreen - Use local variables consistently
> Input: keyboard - drop unnecessary calls to device_init_wakeup
> Input: misc - drop unnecessary calls to device_init_wakeup
> Input: touchscreen - drop unnecessary calls to device_init_wakeup
> Input: serio - drop unnecessary calls to device_init_wakeup
> Input: misc - drop empty remove functions

Applied the lot, thank you.

--
Dmitry