fbdev: sh_mobile_meram: Remove unneeded sanity checks
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 21 Nov 2011 23:56:58 +0000 (00:56 +0100)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 12 Mar 2012 21:41:14 +0000 (22:41 +0100)
commitcdf88b9072a86545611b9c3f5597ebc47e50ffc1
treec3a31efccd11d573334663557171a22dd525eea1
parent97d16fe69b6499a14a0c85c053f7bef54ce992a4
fbdev: sh_mobile_meram: Remove unneeded sanity checks

The meram_register(), meram_unregister() and meram_update() operations
check that the pointers they get from the caller are not NULL. Those
checks can be remove, as the caller already ensures that the pointers
are valid.

The platform sanity checks can also be removed, as the operations can't
be accessed without valid platform data anyway.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/video/sh_mobile_lcdcfb.c
drivers/video/sh_mobile_meram.c
include/video/sh_mobile_meram.h