leds: tca6507: Remove unnecessary reg check
commit94bf9e0cbb15c0d8db6c869f09f901b07f01c386
authorChristos Gkekas <chris.gekas@gmail.com>
Sun, 8 Oct 2017 18:55:05 +0000 (8 19:55 +0100)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Mon, 9 Oct 2017 18:39:54 +0000 (9 20:39 +0200)
treea24b6105a4541390c80d9a5ed33a1fa2835024fe
parent26c7d6a321da64b49c38fffd827377fd8eb2379c
leds: tca6507: Remove unnecessary reg check

Variable reg is unsigned so checking whether it is less than zero is not
necessary.

Signed-off-by: Christos Gkekas <chris.gekas@gmail.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
drivers/leds/leds-tca6507.c