summaryrefslogtreecommitdiffstats
path: root/samples/hidraw
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-08-27 22:08:27 +0200
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-08-28 20:16:06 +0200
commit805a6ef8ac28579a6fb2d8e6505c100bc9bf5395 (patch)
treeb12c12735f02e51e31f804bd82f99c649cb9b624 /samples/hidraw
parentgpio: pisosr: Simplify with dev_err_probe() (diff)
downloadlinux-805a6ef8ac28579a6fb2d8e6505c100bc9bf5395.tar.xz
linux-805a6ef8ac28579a6fb2d8e6505c100bc9bf5395.zip
gpio: zynq: Simplify with dev_err_probe()
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'samples/hidraw')
0 files changed, 0 insertions, 0 deletions