aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorJan Luebbe <[email protected]>2013-07-03 15:09:12 -0700
committerLinus Torvalds <[email protected]>2013-07-03 16:08:06 -0700
commitc5dbcf8b70b50b1f6ef4850f61d79204ea46d761 (patch)
tree6c161151b513d5543d4c635cf91d5c8cd77efbe2 /lib/mpi/mpi-bit.c
parent05212be363363efbc003d4fa1eaf8e48dfbe425a (diff)
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 <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Acked-by: Rodolfo Giometti <[email protected]> Cc: Grant Likely <[email protected]> Cc: Rob Herring <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions