summaryrefslogtreecommitdiff
path: root/colorize.h
blob: 928deb2c9fe1b4feab254ca02e95e2837c6cda48 (plain)
1
2
3
4
5
6
7
8
#ifndef COLORIZE_H
#define COLORIZE_H

#define colorize_start(fore)		"\033[" __##fore "m"
#define colorize_start_full(fore, back)	"\033[" __##fore ";" __on_##back "m"
#define colorize_end()			"\033[" __reset "m"

#endif /* COLORIZE_H */
trl'>
authorLu Baolu <baolu.lu@linux.intel.com>2016-05-05 13:32:57 +0800
committerMark Brown <broonie@kernel.org>2016-06-01 16:19:02 +0100
commit13bed58ce8748d430a26e353a09b89f9d613a71f (patch)
tree11a2f050943b32dfdeef185557b660ec0e3c5dbe
parentf5a6d3516362f85d6a07e930bc10cd4b59f306c7 (diff)
regulator: fixed: add support for ACPI interface
Add support to retrieve fixed voltage configure information through ACPI interface. This is needed for Intel Bay Trail devices, where a GPIO is used to control the USB vbus. Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat