summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Goger <klaus.goger@theobroma-systems.com>2017-05-24 08:39:55 +0200
committerKlaus Goger <klaus.goger@theobroma-systems.com>2017-05-24 08:39:55 +0200
commit3daa5f5c9a9e53940a8b930394b59c4d66365c99 (patch)
tree10f47acc0af4ffe2377fb34eb05c5855d78d3efd
parentd0f8c7a6dc69bac38302b48d228790918e91fdff (diff)
net: rfkill-bt: fix gcc6 build error
fixes following build error with newer gcc versions net/rfkill/rfkill-bt.c: In function 'rfkill_rk_remove': net/rfkill/rfkill-bt.c:703:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] error, forbidden warning: rfkill-bt.c:703 Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
-rw-r--r--net/rfkill/rfkill-bt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/rfkill/rfkill-bt.c b/net/rfkill/rfkill-bt.c
index 332eb47b0986..f8075d3c77bb 100644
--- a/net/rfkill/rfkill-bt.c
+++ b/net/rfkill/rfkill-bt.c
@@ -702,7 +702,8 @@ static int rfkill_rk_remove(struct platform_device *pdev)
if (gpio_is_valid(rfkill->pdata->poweron_gpio.io))
gpio_free(rfkill->pdata->poweron_gpio.io);
- clk_disable_unprepare(rfkill->pdata->ext_clk);
+
+ clk_disable_unprepare(rfkill->pdata->ext_clk);
g_rfkill = NULL;
return 0;