printf: Remove unused 'bprintf'
[drm/drm-misc.git] / include / linux / leds-bd2802.h
blobec577f5f87075cc4f5901054abc381d88c875690
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * leds-bd2802.h - RGB LED Driver
5 * Copyright (C) 2009 Samsung Electronics
6 * Kim Kyuwon <q1.kim@samsung.com>
8 * Datasheet: http://www.rohm.com/products/databook/driver/pdf/bd2802gu-e.pdf
9 */
10 #ifndef _LEDS_BD2802_H_
11 #define _LEDS_BD2802_H_
13 struct bd2802_led_platform_data{
14 u8 rgb_time;
17 #define RGB_TIME(slopedown, slopeup, waveform) \
18 ((slopedown) << 6 | (slopeup) << 4 | (waveform))
20 #endif /* _LEDS_BD2802_H_ */