summaryrefslogtreecommitdiff
path: root/include/linux/pps_kernel.h
diff options
context:
space:
mode:
authorSalah Triki <salah.triki@acm.org>2015-03-05 05:50:24 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-07 03:12:22 +0300
commit5f9dca1e7d5a5463f9e9cc4e1f5c8e9bc9d118a9 (patch)
tree2645f4956ed50242b32bcad2376aec490b9a161d /include/linux/pps_kernel.h
parent834d86735d2b12c74d252addf20fc448bae8f813 (diff)
downloadlinux-5f9dca1e7d5a5463f9e9cc4e1f5c8e9bc9d118a9.tar.xz
Staging: dgnc: Fix checking return value of register_chrdev
The failure code is negative. So check <0 instead of <=0. Return the failure code instead of -ENXIO. Signed-off-by: Salah Triki <salah.triki@acm.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/pps_kernel.h')
0 files changed, 0 insertions, 0 deletions