linux-sg2042/drivers/pps/clients
Jan Luebbe c5dbcf8b70 pps-gpio: add device-tree binding and support
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@pengutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Rodolfo Giometti <giometti@enneenne.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-07-03 16:08:06 -07:00
..
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile pps: new client driver using GPIO 2011-11-02 16:07:02 -07:00
pps-gpio.c pps-gpio: add device-tree binding and support 2013-07-03 16:08:06 -07:00
pps-ktimer.c pps: default echo function 2011-11-02 16:07:02 -07:00
pps-ldisc.c pps: Move timestamp read into PPS code proper 2013-02-13 10:13:58 -08:00
pps_parport.c Include missing linux/slab.h inclusions 2013-04-29 15:42:01 -04:00