From: linux@treblig.org
To: jic23@kernel.org, lars@metafoo.de, marius.cristea@microchip.com,
mazziesaccount@gmail.com
Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
"Dr. David Alan Gilbert" <linux@treblig.org>
Subject: [PATCH 1/3] iio: accel: bmi088: remove unused struct 'bmi088_scale_info'
Date: Thu, 23 May 2024 00:04:55 +0100 [thread overview]
Message-ID: <20240522230457.478156-2-linux@treblig.org> (raw)
In-Reply-To: <20240522230457.478156-1-linux@treblig.org>
From: "Dr. David Alan Gilbert" <linux@treblig.org>
'bmi088_scale_info' has been unused since the original
commit c19ae6be7555 ("iio: accel: Add support for the Bosch-Sensortec
BMI088").
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
drivers/iio/accel/bmi088-accel-core.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/iio/accel/bmi088-accel-core.c b/drivers/iio/accel/bmi088-accel-core.c
index 4d989708e6c3..469a1255d93c 100644
--- a/drivers/iio/accel/bmi088-accel-core.c
+++ b/drivers/iio/accel/bmi088-accel-core.c
@@ -114,11 +114,6 @@ enum bmi088_odr_modes {
BMI088_ACCEL_MODE_ODR_1600 = 0xc,
};
-struct bmi088_scale_info {
- int scale;
- u8 reg_range;
-};
-
struct bmi088_accel_chip_info {
const char *name;
u8 chip_id;
--
2.45.1
next prev parent reply other threads:[~2024-05-22 23:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-22 23:04 [PATCH 0/3] IIO dead struct cleanup linux
2024-05-22 23:04 ` linux [this message]
2024-05-22 23:04 ` [PATCH 2/3] iio: adc: pac1934: remove unused struct 'samp_rate_mapping' linux
2024-05-22 23:04 ` [PATCH 3/3] iio: light: rohm-bu27034: remove unused struct 'bu27034_result' linux
2024-05-23 5:50 ` Matti Vaittinen
2024-05-25 16:41 ` [PATCH 0/3] IIO dead struct cleanup Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240522230457.478156-2-linux@treblig.org \
--to=linux@treblig.org \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marius.cristea@microchip.com \
--cc=mazziesaccount@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox