staging: ste_rmi4: kill platform_data hack
authorArnd Bergmann <arnd@arndb.de>
Thu, 21 Mar 2013 21:51:10 +0000 (22:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 8 Apr 2013 11:59:25 +0000 (13:59 +0200)
commite5a1f68203e4dab8fdbb4c7d20977e6a5dbc7a49
treeb50c3b38ac4a7a0e4a2d1caf0facd2a266d38ace
parentab0fc6ce4825311e1842bb3c46611d0f02d189df
staging: ste_rmi4: kill platform_data hack

There is only one instance of the platform data for synaptics_i2c_rmi4
in the mainline kernel, so there is no point of pretending its
variable here. The only member that has a dependency on the platform
is actually the interrupt number, and there is a field in the
i2c_client structure that gets initialized from the board info,
so we can trivially move the board_into into the platform without
knowledge of the platform_data structure.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/board-mop500-u8500uib.c
drivers/staging/ste_rmi4/Makefile
drivers/staging/ste_rmi4/board-mop500-u8500uib-rmi4.c [deleted file]
drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
drivers/staging/ste_rmi4/synaptics_i2c_rmi4.h