diff options
author | Paul Parsons <lost.distance@yahoo.com> | 2011-08-09 12:27:43 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-10-24 08:09:09 -0400 |
commit | c29a81270bd3cbdf0c603d42f4c2d17acf94a0bc (patch) | |
tree | 7986ea86d7baddf176f67199da747c9394e40774 /drivers | |
parent | e0b13b5b6a9ad3ccadaa6662524a92e13aa7a032 (diff) |
mfd: Make asic3_clk_enable() a void function
The return value of asic3_clk_enable() was neither used nor useful. So let's
make it a void function, and thereby match asic3_clk_disable().
Signed-off-by: Paul Parsons <lost.distance@yahoo.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/asic3.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c index 2dbb8ca89730..3da3a901ec3e 100644 --- a/drivers/mfd/asic3.c +++ b/drivers/mfd/asic3.c | |||
@@ -584,7 +584,7 @@ static int asic3_gpio_remove(struct platform_device *pdev) | |||
584 | return gpiochip_remove(&asic->gpio); | 584 | return gpiochip_remove(&asic->gpio); |
585 | } | 585 | } |
586 | 586 | ||
587 | static int asic3_clk_enable(struct asic3 *asic, struct asic3_clk *clk) | 587 | static void asic3_clk_enable(struct asic3 *asic, struct asic3_clk *clk) |
588 | { | 588 | { |
589 | unsigned long flags; | 589 | unsigned long flags; |
590 | u32 cdex; | 590 | u32 cdex; |
@@ -596,8 +596,6 @@ static int asic3_clk_enable(struct asic3 *asic, struct asic3_clk *clk) | |||
596 | asic3_write_register(asic, ASIC3_OFFSET(CLOCK, CDEX), cdex); | 596 | asic3_write_register(asic, ASIC3_OFFSET(CLOCK, CDEX), cdex); |
597 | } | 597 | } |
598 | spin_unlock_irqrestore(&asic->lock, flags); | 598 | spin_unlock_irqrestore(&asic->lock, flags); |
599 | |||
600 | return 0; | ||
601 | } | 599 | } |
602 | 600 | ||
603 | static void asic3_clk_disable(struct asic3 *asic, struct asic3_clk *clk) | 601 | static void asic3_clk_disable(struct asic3 *asic, struct asic3_clk *clk) |