fbdev: sh_mobile_lcdcfb: fix notifier callback return codes
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 3 Sep 2010 07:20:08 +0000 (07:20 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 14 Sep 2010 08:22:46 +0000 (17:22 +0900)
commitbaf163749952ca5e33dd2d6a74da023e385c3a00
treec2aa5542de0861046c3bda8efd8c5d9c696a0cc2
parent44432407d9f5e4b2e56c7eccb65d98cad4bba191
fbdev: sh_mobile_lcdcfb: fix notifier callback return codes

Notifier callbacks have to return either one of NOTIFY_* codes or a negative
errno, converted to a suitable value by the notifier_from_errno() inline, if
the notifier chain shall not be continued.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/sh_mobile_lcdcfb.c