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/synaptics_i2c_rmi4.h | |
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/synaptics_i2c_rmi4.h')
-rw-r--r-- | drivers/staging/ste_rmi4/synaptics_i2c_rmi4.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.h b/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.h index 384436e..8c9166b 100644 --- a/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.h +++ b/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.h @@ -38,7 +38,6 @@ * This structure gives platform data for rmi4. */ struct synaptics_rmi4_platform_data { - int irq_number; int irq_type; bool x_flip; bool y_flip; |