From: Jan Luebbe Date: Wed, 3 Jul 2013 22:09:12 +0000 (-0700) Subject: pps-gpio: add device-tree binding and support X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~17^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5dbcf8b70b50b1f6ef4850f61d79204ea46d761;p=pandora-kernel.git 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 Acked-by: Arnd Bergmann Acked-by: Rodolfo Giometti Cc: Grant Likely Cc: Rob Herring Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed