27 lines
825 B
Diff
27 lines
825 B
Diff
|
From ad0ba3b36eb771036b37f0281cc44fca0f40aa68 Mon Sep 17 00:00:00 2001
|
||
|
From: Ondrej Jirman <megi@xff.cz>
|
||
|
Date: Sat, 29 Oct 2022 23:15:32 +0200
|
||
|
Subject: [PATCH 397/464] iio: af8133j: Avoid compiler warning
|
||
|
|
||
|
Signed-off-by: Ondrej Jirman <megi@xff.cz>
|
||
|
---
|
||
|
drivers/iio/magnetometer/af8133j.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/drivers/iio/magnetometer/af8133j.c b/drivers/iio/magnetometer/af8133j.c
|
||
|
index 24656f006ac0..21380c8b11f5 100644
|
||
|
--- a/drivers/iio/magnetometer/af8133j.c
|
||
|
+++ b/drivers/iio/magnetometer/af8133j.c
|
||
|
@@ -171,7 +171,7 @@ static int af8133j_power_up(struct af8133j_data *data)
|
||
|
|
||
|
static void af8133j_power_down(struct af8133j_data *data)
|
||
|
{
|
||
|
- struct device *dev = &data->client->dev;
|
||
|
+// struct device *dev = &data->client->dev;
|
||
|
|
||
|
if (!data->powered)
|
||
|
return;
|
||
|
--
|
||
|
2.34.1
|
||
|
|