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 */
/table>
authorLinus Torvalds <torvalds@linux-foundation.org>2016-06-01 12:38:50 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-06-01 12:38:50 -0700
commit719af93ab78eaaccdb2fa727268da6b477804bfb (patch)
tree95ba3e754d45c62c392913f84f075f35f8c4c569
parentebb8cb2bae0344ef45cc173cdf5402ec91198abd (diff)
parent5edf673d07fdcb6498be24914f3f38f8d8843199 (diff)
Merge tag 'pinctrl-v4.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
Pull pin control fixes from Linus Walleij: "Here are three pin control fixes for v4.7. Not much, and just driver fixes: - add device tree matches to MAINTAINERS - inversion bug in the Nomadik driver - dual edge handling bug in the mediatek driver" * tag 'pinctrl-v4.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: pinctrl: mediatek: fix dual-edge code defect MAINTAINERS: Add file patterns for pinctrl device tree bindings pinctrl: nomadik: fix inversion of gpio direction
Diffstat