Get rid of stupid _backlight_* function names

_remote_backlight_* and _buttonlight_* are cleaned as well

Change-Id: I73653752831bbe170c26ba95d3bc04c2e3a5cf30
This commit is contained in:
Marcin Bukat 2015-01-09 00:22:40 +01:00 committed by Gerrit Rockbox
parent 2a3e1628a5
commit 89ba7e818c
148 changed files with 679 additions and 687 deletions

View file

@ -21,22 +21,22 @@
#ifndef BACKLIGHT_TARGET_H
#define BACKLIGHT_TARGET_H
static inline bool _backlight_init(void)
static inline bool backlight_hw_init(void)
{
GPIOD_DIR |= (1<<1);
return true;
}
static inline void _backlight_on(void)
static inline void backlight_hw_on(void)
{
GPIOD_PIN(1) = (1<<1);
}
static inline void _backlight_off(void)
static inline void backlight_hw_off(void)
{
GPIOD_PIN(1) = 0x00;
}
#define _backlight_panic_on() _backlight_on()
#define _backlight_panic_on() backlight_hw_on()
#endif