mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 08:49:45 +00:00
![Linus Walleij](/assets/img/avatar_default.png)
The Rohm BD6107 driver can pass a fixed GPIO line using the old GPIO API using platform data. As there are no in-tree users of this platform data since 2013, we can convert this to use a GPIO descriptor and require any out-of-tree consumers to pass the GPIO using a machine descriptor table instead. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
15 lines
237 B
C
15 lines
237 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* bd6107.h - Rohm BD6107 LEDs Driver
|
|
*/
|
|
#ifndef __BD6107_H__
|
|
#define __BD6107_H__
|
|
|
|
struct device;
|
|
|
|
struct bd6107_platform_data {
|
|
struct device *fbdev;
|
|
unsigned int def_value;
|
|
};
|
|
|
|
#endif
|