From: Arnd Bergmann Date: Thu, 21 Mar 2013 21:51:10 +0000 (+0100) Subject: staging: ste_rmi4: kill platform_data hack X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~67^2~12^2~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5a1f68203e4dab8fdbb4c7d20977e6a5dbc7a49;p=pandora-kernel.git 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 Acked-by: Greg Kroah-Hartman Signed-off-by: Linus Walleij --- Reading git-diff-tree failed