|
@@ -348,7 +348,7 @@ static int wm8994_ldo_in_use(struct wm8994_pdata *pdata, int ldo)
|
|
|
/*
|
|
|
* Instantiate the generic non-control parts of the device.
|
|
|
*/
|
|
|
-static int wm8994_device_init(struct wm8994 *wm8994, int irq)
|
|
|
+static __devinit int wm8994_device_init(struct wm8994 *wm8994, int irq)
|
|
|
{
|
|
|
struct wm8994_pdata *pdata = wm8994->dev->platform_data;
|
|
|
struct regmap_config *regmap_config;
|
|
@@ -580,7 +580,7 @@ err_regmap:
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
|
-static void wm8994_device_exit(struct wm8994 *wm8994)
|
|
|
+static __devexit void wm8994_device_exit(struct wm8994 *wm8994)
|
|
|
{
|
|
|
pm_runtime_disable(wm8994->dev);
|
|
|
mfd_remove_devices(wm8994->dev);
|