leds: turris-omnia: use constants instead of macros for color command
authorMarek Behún <kabel@kernel.org>
Fri, 30 Oct 2020 02:39:02 +0000 (03:39 +0100)
committerPavel Machek <pavel@ucw.cz>
Wed, 25 Nov 2020 12:25:27 +0000 (13:25 +0100)
commit493d2e432f38cd366ab78dcec53781a0fddc2822
tree087536acb48f2735f57a40aa385f08e715848ba7
parent0fe5ac3d9667176e236d536ff9c1ec30eb2e6080
leds: turris-omnia: use constants instead of macros for color command

Use integer constants directly when building I2C messages for LED color
change command, instead of macros. The command is simple enough to
understand what is going on even without these names.

Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/leds-turris-omnia.c