You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
isp1704_charger: Add DT support
This patch introduces device tree support to the isp1704 charger driver. Adding support involved moving the handling of the enable GPIO from board code into the driver. Signed-off-by: Sebastian Reichel <sre@debian.org> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
This commit is contained in:
committed by
Anton Vorontsov
parent
434a09f9c4
commit
34a109610e
@@ -24,6 +24,7 @@
|
||||
|
||||
struct isp1704_charger_data {
|
||||
void (*set_power)(bool on);
|
||||
int enable_gpio;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user