drm: use memchr_inv()
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 9 Nov 2012 12:10:42 +0000 (12:10 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Nov 2012 06:06:17 +0000 (16:06 +1000)
commit6311803b1294432ee680fec5e628efae0d485fa2
tree1eb5e83d7f1b6b8872fcd2d3abda782f4f5e881d
parentc61eef726a78ae77b6ce223d01ea2130f465fe5c
drm: use memchr_inv()

Use memchr_inv() to check the specified memory region is filled with zero.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: David Airlie <airlied@linux.ie>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c