27 lines
825 B
Diff
27 lines
825 B
Diff
From 4a23aa69efd322dc9c0a0b8e48ce7334950877ee Mon Sep 17 00:00:00 2001
|
|
From: Ondrej Jirman <megi@xff.cz>
|
|
Date: Sat, 29 Oct 2022 23:15:32 +0200
|
|
Subject: [PATCH 413/469] 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
|
|
|