ASoC: s3c24xx_uda134x: Remove unused power() callback
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 4 Aug 2016 13:38:44 +0000 (15:38 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 8 Aug 2016 10:55:20 +0000 (11:55 +0100)
The power() callback has always been empty so just remove it.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/s3c24xx_uda134x.h
sound/soc/samsung/s3c24xx_uda134x.c

index 33df4cb..ffaf1f0 100644 (file)
@@ -7,7 +7,6 @@ struct s3c24xx_uda134x_platform_data {
        int l3_clk;
        int l3_mode;
        int l3_data;
-       void (*power) (int);
        int model;
 };
 
index 50849e1..33479e7 100644 (file)
@@ -281,7 +281,6 @@ static int s3c24xx_uda134x_probe(struct platform_device *pdev)
                       "unable to find platform data\n");
                return -ENODEV;
        }
-       s3c24xx_uda134x.power = s3c24xx_uda134x_l3_pins->power;
        s3c24xx_uda134x.model = s3c24xx_uda134x_l3_pins->model;
 
        if (s3c24xx_uda134x_setup_pin(s3c24xx_uda134x_l3_pins->l3_data,