[PATCH v2] pps-gpio: add device-tree binding and support

Arnd Bergmann arnd at arndb.de
Sat Jun 1 21:44:35 EST 2013


On Saturday 01 June 2013, Jan Luebbe wrote:
> Instead of allocating a struct pps_gpio_platform_data in the DT case, store
> the necessary information in struct pps_gpio_device_data itself. This avoids
> an additional allocation and the ifdef. It also gets rid of some indirection.
> 
> Also use dev_err instead of pr_err in the changed code.
> 
> Signed-off-by: Jan Luebbe <jlu at pengutronix.de>
> 
Acked-by: Arnd Bergmann <arnd at arndb.de>


More information about the devicetree-discuss mailing list