leds: da903x: (da9030 only) led brightness reversed.
authorJonathan Cameron <Jonathan.Cameron@gmail.com>
Thu, 30 Oct 2008 11:05:00 +0000 (11:05 +0000)
committerEric Miao <eric.miao@marvell.com>
Thu, 30 Oct 2008 14:14:10 +0000 (22:14 +0800)
The brightness control register calculation (for the pwm) is
effectively the reverse of what would be expected.
1 is maximum brightness, 255 minimum.

This patch inverts this.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.miao@marvell.com>

No differences found