drm/i2c: tda998x: switch to boolean is_on
authorRussell King <rmk+kernel@armlinux.org.uk>
Sun, 23 Oct 2016 10:39:04 +0000 (11:39 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 18 Nov 2016 00:00:40 +0000 (00:00 +0000)
commit3cb43378d83e373c19c811776a5096fa40e95448
tree4dad8bdcca76f799e25ee6f03d1cce4f84c7fb55
parent02efac0fbfd59a9b9cf57cd09c8bdf5d8471c533
drm/i2c: tda998x: switch to boolean is_on

Rather than storing the DPMS mode (which will always be on or off) use a
boolean to store this instead.

Tested-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Jon Medhurst <tixy@linaro.org>
Acked-by: Jon Medhurst <tixy@linaro.org>
Tested-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
drivers/gpu/drm/i2c/tda998x_drv.c