diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-03-21 21:51:10 (GMT) |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-04-08 11:59:25 (GMT) |
commit | e5a1f68203e4dab8fdbb4c7d20977e6a5dbc7a49 (patch) | |
tree | b50c3b38ac4a7a0e4a2d1caf0facd2a266d38ace /drivers/staging/ste_rmi4/Makefile | |
parent | ab0fc6ce4825311e1842bb3c46611d0f02d189df (diff) | |
download | linux-fsl-qoriq-e5a1f68203e4dab8fdbb4c7d20977e6a5dbc7a49.tar.xz |
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>
Diffstat (limited to 'drivers/staging/ste_rmi4/Makefile')
-rw-r--r-- | drivers/staging/ste_rmi4/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/ste_rmi4/Makefile b/drivers/staging/ste_rmi4/Makefile index e4c0335..6cce2ed 100644 --- a/drivers/staging/ste_rmi4/Makefile +++ b/drivers/staging/ste_rmi4/Makefile @@ -2,4 +2,3 @@ # Makefile for the RMI4 touchscreen driver. # obj-$(CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4) += synaptics_i2c_rmi4.o -obj-$(CONFIG_MACH_MOP500) += board-mop500-u8500uib-rmi4.o |