return 0;
}
-static int rtl8366rb_hw_init(struct rtl8366_smi *smi)
+static int rtl8366rb_setup(struct rtl8366_smi *smi)
{
int err;
if (err)
return err;
- err = rtl8366rb_hw_init(smi);
+ err = rtl8366rb_setup(smi);
if (err)
return err;
return err;
}
-static int rtl8366rb_setup(struct rtl8366_smi *smi)
-{
- return rtl8366rb_hw_init(smi);
-}
-
static int rtl8366rb_detect(struct rtl8366_smi *smi)
{
u32 chip_id = 0;
return 0;
}
-static int rtl8366s_hw_init(struct rtl8366_smi *smi)
+static int rtl8366s_setup(struct rtl8366_smi *smi)
{
struct rtl8366_platform_data *pdata;
int err;
if (err)
return err;
- err = rtl8366s_hw_init(smi);
+ err = rtl8366s_setup(smi);
if (err)
return err;
return err;
}
-static int rtl8366s_setup(struct rtl8366_smi *smi)
-{
- return rtl8366s_hw_init(smi);
-}
-
static int rtl8366s_detect(struct rtl8366_smi *smi)
{
u32 chip_id = 0;
return 0;
}
-static int rtl8367_hw_init(struct rtl8366_smi *smi)
+static int rtl8367_setup(struct rtl8366_smi *smi)
{
struct rtl8367_platform_data *pdata;
int err;
return err;
- err = rtl8367_hw_init(smi);
+ err = rtl8367_setup(smi);
if (err)
return err;
return err;
}
-static int rtl8367_setup(struct rtl8366_smi *smi)
-{
- return rtl8367_hw_init(smi);
-}
-
static int rtl8367_detect(struct rtl8366_smi *smi)
{
u32 rtl_no = 0;