diff options
author | 2013-07-03 15:09:12 -0700 | |
---|---|---|
committer | 2013-07-03 16:08:06 -0700 | |
commit | c5dbcf8b70b50b1f6ef4850f61d79204ea46d761 (patch) | |
tree | 6c161151b513d5543d4c635cf91d5c8cd77efbe2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drivers/pps/clients/pps-gpio.c: convert to module_platform_driver (diff) | |
download | linux-dev-c5dbcf8b70b50b1f6ef4850f61d79204ea46d761.tar.xz linux-dev-c5dbcf8b70b50b1f6ef4850f61d79204ea46d761.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions