linux_dsm_epyc7002/drivers/pps
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
..
clients pps-gpio: add device-tree binding and support 2013-07-03 16:08:06 -07:00
generators pps: remove unreachable code 2011-03-22 17:44:17 -07:00
kapi.c pps: convert to idr_alloc() 2013-02-27 19:10:18 -08:00
kc.c pps: pps_kc_hardpps_lock can be static 2013-04-30 17:04:08 -07:00
kc.h pps: add kernel consumer support 2011-01-13 08:03:21 -08:00
Kconfig pps: hide more configuration symbols behind CONFIG_PPS 2013-04-30 17:04:08 -07:00
Makefile pps: add parallel port PPS signal generator 2011-01-13 08:03:21 -08:00
pps.c pps: convert to idr_alloc() 2013-02-27 19:10:18 -08:00
sysfs.c