summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2020-06-24 15:58:36 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-06-26 10:19:51 +0200
commitc6114a600b284d3ef8b1255e7127815c49d20c9d (patch)
tree4746697b7d394407a3c5a8dae42efb237c2cf550 /include/linux
parent73d2e0b7343d6a22d4b47499a3edf209cea60ccc (diff)
downloadbarebox-c6114a600b284d3ef8b1255e7127815c49d20c9d.tar.gz
barebox-c6114a600b284d3ef8b1255e7127815c49d20c9d.tar.xz
treewide: make use of PTR_ERR_OR_ZERO
PTR_ERR_OR_ZERO is designed to replace boiler plate like: if (IS_ERR(x)) return PTR_ERR(x); return 0; Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions