aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2020-08-27 20:08:27 +0000
committerBartosz Golaszewski <[email protected]>2020-08-28 18:16:06 +0000
commit805a6ef8ac28579a6fb2d8e6505c100bc9bf5395 (patch)
treeb12c12735f02e51e31f804bd82f99c649cb9b624 /lib/string_helpers.c
parentgpio: pisosr: Simplify with dev_err_probe() (diff)
downloadkernel-805a6ef8ac28579a6fb2d8e6505c100bc9bf5395.tar.gz
kernel-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 <[email protected]> Reviewed-by: Michal Simek <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions