Re: [PATCH v2] pps-gpio: add device-tree binding and support
From: Rodolfo Giometti <hidden>
Date: 2013-06-03 12:32:49
Also in:
lkml
From: Rodolfo Giometti <hidden>
Date: 2013-06-03 12:32:49
Also in:
lkml
On Sat, Jun 01, 2013 at 12:44:09PM +0200, 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 <redacted>
Acked-by: Rodolfo Giometti <giometti-AVVDYK/kqiJWk0Htik3J/w@public.gmane.org> -- GNU/Linux Solutions e-mail: giometti-AVVDYK/kqiJWk0Htik3J/w@public.gmane.org Linux Device Driver giometti-k2GhghHVRtY@public.gmane.org Embedded Systems phone: +39 349 2432127 UNIX programming skype: rodolfo.giometti Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it