summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-lynxpoint.c
diff options
context:
space:
mode:
authorzhong jiang <zhongjiang@huawei.com>2018-07-31 18:13:14 +0200
committerJens Axboe <axboe@kernel.dk>2018-08-01 17:13:03 +0200
commit4725549192c9633b6a3740bf23770cb758bee4a0 (patch)
treef914b33624a7650377e265e68eb34bde3c35983a /drivers/gpio/gpio-lynxpoint.c
parentt10-pi: provide empty t10_pi_complete() for !CONFIG_BLK_DEV_INTEGRITY (diff)
downloadlinux-4725549192c9633b6a3740bf23770cb758bee4a0.tar.xz
linux-4725549192c9633b6a3740bf23770cb758bee4a0.zip
block/bsg-lib: use PTR_ERR_OR_ZERO to simplify the flow path
Simplify the code by using the PTR_ERR_OR_ZERO, instead of the open code. It is better. Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: zhong jiang <zhongjiang@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/gpio/gpio-lynxpoint.c')
0 files changed, 0 insertions, 0 deletions