Re: [PATCH 5/9 RESEND] staging: ste_rmi4: kill platform_data hack

From: Greg KH
Date: Mon Mar 25 2013 - 17:04:59 EST


On Mon, Mar 25, 2013 at 10:00:11PM +0100, Linus Walleij wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> 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@xxxxxxxx>
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> ---
> Hi Greg, seeking your ACK on this to take it through the ARM SoC
> tree.

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/