Skip to content
Snippets Groups Projects
Commit 4986c6c7 authored by Paul Kocialkowski's avatar Paul Kocialkowski Committed by Tom Rini
Browse files

power: twl6030: Remove ifdef around the code


The TWL6030 power driver is only built when CONFIG_TWL6030_POWER is selected,
thus there is no reason to wrap the code with ifdef.

Signed-off-by: default avatarPaul Kocialkowski <contact@paulk.fr>
parent bd55eedc
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,6 @@
* SPDX-License-Identifier: GPL-2.0+
*/
#include <config.h>
#ifdef CONFIG_TWL6030_POWER
#include <twl6030.h>
......@@ -262,4 +261,3 @@ void twl6030_usb_device_settings()
value &= ~TWL6030_MISC2_VUSB_IN_PMID;
twl6030_i2c_write_u8(TWL6030_CHIP_PM, TWL6030_MISC2, value);
}
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment