summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/twl4030-audio.c
diff options
context:
space:
mode:
authorRasmus Villemoes <mail@rasmusvillemoes.dk>2013-06-05 19:09:39 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-06 21:54:08 +0200
commit71811f3271cd986e223be44830e5961056561ac3 (patch)
tree3056f805a67870d36c19a361cf805b44d33aae3e /drivers/mfd/twl4030-audio.c
parentpch_phub: fix error return code in pch_phub_probe() (diff)
downloadlinux-71811f3271cd986e223be44830e5961056561ac3.tar.xz
linux-71811f3271cd986e223be44830e5961056561ac3.zip
drivers: char: mem: use IS_ERR_VALUE() in memory_lseek()
Use IS_ERR_VALUE() instead of comparing the new offset to a hard-coded value of -MAX_ERRNO (which is also off-by-one due to the use of ~ instead of -). Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mfd/twl4030-audio.c')
0 files changed, 0 insertions, 0 deletions