From: Laurent Pinchart Date: Mon, 21 Nov 2011 23:56:58 +0000 (+0100) Subject: fbdev: sh_mobile_meram: Remove unneeded sanity checks X-Git-Tag: v3.4-rc1~125^2~12^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdf88b9072a86545611b9c3f5597ebc47e50ffc1;p=pandora-kernel.git 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 --- Reading git-diff-tree failed