led: add and use a LED_BRIGTHNESS_MAX definition

The led_set_brightness API says that brightness is defined as
percentage, add a macro from the max and use it everywhere.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
16 files changed