mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
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 <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Reviewed-by: Daniel Thompson <[email protected]> Signed-off-by: Lee Jones <[email protected]>
16 lines
237 B
C
16 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
|