drm/i915/bios: cleanup return type of intel_parse_bios()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 27 Jun 2012 09:10:30 +0000 (12:10 +0300)
committerDave Airlie <airlied@redhat.com>
Wed, 27 Jun 2012 09:17:51 +0000 (10:17 +0100)
commit0317c6cecd3d6cfd8f920544239a0ba4d3c3f458
treea98f9818d49c343ca9932918d268ea037e2b4ef6
parent7c0143341a5b457eecf2490ab823a19e98ec082f
drm/i915/bios: cleanup return type of intel_parse_bios()

These are unintuitive.  These are type bool and return -1 casted to true
on failure.  Let's just make it return an int.  The callers don't care,
but let's change this as a cleanup.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/intel_bios.c
drivers/gpu/drm/gma500/intel_bios.h
drivers/gpu/drm/i915/intel_bios.c
drivers/gpu/drm/i915/intel_bios.h