video: fbdev: sh_mobile_lcdcfb: Fix ROP3 sysfs attribute parsing
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 14 Mar 2015 15:38:39 +0000 (17:38 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 20 Mar 2015 11:14:50 +0000 (13:14 +0200)
commit14048ffed0145a425a8d3114ce8ff48172460238
treece976ba9d046baaff8850806a6145c1ae1835e8b
parentb3924dd7a943613939f8b019690d1f919ece035c
video: fbdev: sh_mobile_lcdcfb: Fix ROP3 sysfs attribute parsing

The ROP3 attribute is expressed as an integer in the 0-255 range. Remove
the wrong conversion to boolean when parsing it.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/sh_mobile_lcdcfb.c