drivers: power: supply: Drop reference to dead platforms
Change-Id: Id81d81b06a02e4172018b0f42efc455805409e0a
This commit is contained in:
@@ -5173,16 +5173,13 @@ static struct i2c_driver rx1619_driver = {
|
||||
static int __init rx1619_init(void)
|
||||
{
|
||||
int ret;
|
||||
uint32_t hw_version = 0;
|
||||
#ifdef CONFIG_RX1619_REMOVE
|
||||
return 0;
|
||||
#endif
|
||||
hw_version = get_hw_version_platform();
|
||||
printk("rx1619: hw version: %d\n", hw_version);
|
||||
|
||||
#ifndef CONFIG_RX_ON_URD
|
||||
printk("is_nvt_rx flag is:%d\n", is_nvt_rx);
|
||||
if (!is_nvt_rx && (hw_version != HARDWARE_PLATFORM_SKULD))
|
||||
if (!is_nvt_rx)
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
|
||||
@@ -5242,12 +5242,7 @@ static struct i2c_driver idtp9220_driver = {
|
||||
static int __init idt_init(void)
|
||||
{
|
||||
int ret;
|
||||
uint32_t hw_version = 0;
|
||||
|
||||
hw_version = get_hw_version_platform();
|
||||
printk("idtp9415: hw version: %d\n", hw_version);
|
||||
if (hw_version == HARDWARE_PLATFORM_SKULD)
|
||||
return 0;
|
||||
#ifndef CONFIG_RX1619_REMOVE
|
||||
printk("is_idt_rx flag is:%d\n", is_idt_rx);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user