From: "Sicelo A. Mhlongo" <absicsz@gmail.com>
To: Jonathan Cameron <jic23@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Denis Ciocca <denis.ciocca@st.com>,
linux-iio@vger.kernel.org
Cc: devicetree@vger.kernel.org,
Linus Walleij <linus.walleij@linaro.org>,
Lars-Peter Clausen <lars@metafoo.de>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
"Sicelo A. Mhlongo" <absicsz@gmail.com>,
Jonathan Cameron <Jonathan.Cameron@Huawei.com>
Subject: [PATCH v2 2/3] iio: accel: Remove unused enum in st_accel
Date: Wed, 2 Mar 2022 00:54:31 +0200 [thread overview]
Message-ID: <20220301225432.60844-3-absicsz@gmail.com> (raw)
In-Reply-To: <20220301225432.60844-1-absicsz@gmail.com>
The st_accel_type enum is not used anywhere else in the code, and can be
removed
Suggested-by: Jonathan Cameron <Jonathan.Cameron@Huawei.com>
Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
---
drivers/iio/accel/st_accel.h | 25 -------------------------
1 file changed, 25 deletions(-)
diff --git a/drivers/iio/accel/st_accel.h b/drivers/iio/accel/st_accel.h
index 8750dea56fcb..969cc7faca07 100644
--- a/drivers/iio/accel/st_accel.h
+++ b/drivers/iio/accel/st_accel.h
@@ -14,31 +14,6 @@
#include <linux/types.h>
#include <linux/iio/common/st_sensors.h>
-enum st_accel_type {
- LSM303DLH,
- LSM303DLHC,
- LIS3DH,
- LSM330D,
- LSM330DL,
- LSM330DLC,
- LIS331DLH,
- LSM303DL,
- LSM303DLM,
- LSM330,
- LSM303AGR,
- LIS2DH12,
- LIS3L02DQ,
- LNG2DM,
- H3LIS331DL,
- LIS331DL,
- LIS3LV02DL,
- LIS2DW12,
- LIS3DHH,
- LIS2DE12,
- LIS2HH12,
- ST_ACCEL_MAX,
-};
-
#define H3LIS331DL_ACCEL_DEV_NAME "h3lis331dl_accel"
#define LIS3LV02DL_ACCEL_DEV_NAME "lis3lv02dl_accel"
#define LSM303DLHC_ACCEL_DEV_NAME "lsm303dlhc_accel"
--
2.35.1
next prev parent reply other threads:[~2022-03-01 22:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-01 22:54 [PATCH v2 0/3] Support LIS302DL in st_accel Sicelo A. Mhlongo
2022-03-01 22:54 ` [PATCH v2 1/3] dt-bindings: iio: st,st-sensors add LIS302DL Sicelo A. Mhlongo
2022-03-02 18:04 ` Rob Herring
2022-03-01 22:54 ` Sicelo A. Mhlongo [this message]
2022-03-01 23:49 ` [PATCH v2 2/3] iio: accel: Remove unused enum in st_accel Linus Walleij
2022-03-01 22:54 ` [PATCH v2 3/3] iio: accel: add support for LIS302DL variant Sicelo A. Mhlongo
2022-03-01 23:50 ` Linus Walleij
2022-03-02 13:59 ` Andy Shevchenko
2022-03-05 15:59 ` [PATCH v2 0/3] Support LIS302DL in st_accel Jonathan Cameron
2022-03-07 8:55 ` Sicelo
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=20220301225432.60844-3-absicsz@gmail.com \
--to=absicsz@gmail.com \
--cc=Jonathan.Cameron@Huawei.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=denis.ciocca@st.com \
--cc=devicetree@vger.kernel.org \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linus.walleij@linaro.org \
--cc=linux-iio@vger.kernel.org \
--cc=robh+dt@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).