All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ramona Bolboaca <ramona.bolboaca@analog.com>
To: <jic23@kernel.org>, <nuno.sa@analog.com>,
	<linux-iio@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Cc: Ramona Bolboaca <ramona.bolboaca@analog.com>
Subject: [PATCH v6 9/9] iio: imu: adis: Remove adis_initial_startup function
Date: Tue, 22 Nov 2022 10:27:57 +0200	[thread overview]
Message-ID: <20221122082757.449452-10-ramona.bolboaca@analog.com> (raw)
In-Reply-To: <20221122082757.449452-1-ramona.bolboaca@analog.com>

Remove adis_initial_startup function since it is not used
anymore.

Signed-off-by: Ramona Bolboaca <ramona.bolboaca@analog.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
---
 include/linux/iio/imu/adis.h | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/include/linux/iio/imu/adis.h b/include/linux/iio/imu/adis.h
index d789ecf8d0c8..0ace8738552b 100644
--- a/include/linux/iio/imu/adis.h
+++ b/include/linux/iio/imu/adis.h
@@ -428,18 +428,6 @@ static inline int adis_check_status(struct adis *adis)
 	return ret;
 }
 
-/* locked version of __adis_initial_startup() */
-static inline int adis_initial_startup(struct adis *adis)
-{
-	int ret;
-
-	mutex_lock(&adis->state_lock);
-	ret = __adis_initial_startup(adis);
-	mutex_unlock(&adis->state_lock);
-
-	return ret;
-}
-
 static inline void adis_dev_lock(struct adis *adis)
 {
 	mutex_lock(&adis->state_lock);
-- 
2.25.1


  parent reply	other threads:[~2022-11-22  8:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-22  8:27 [PATCH v6 0/9] Add '__adis_enable_irq()' Ramona Bolboaca
2022-11-22  8:27 ` [PATCH v6 1/9] iio: adis: add '__adis_enable_irq()' implementation Ramona Bolboaca
2022-11-23 20:39   ` Jonathan Cameron
2022-11-24 21:34   ` kernel test robot
2022-11-22  8:27 ` [PATCH v6 2/9] iio: accel: adis16201: Call '__adis_initial_startup()' in probe Ramona Bolboaca
2022-11-22  8:27 ` [PATCH v6 3/9] iio: accel: adis16209: " Ramona Bolboaca
2022-11-22  8:27 ` [PATCH v6 4/9] iio: gyro: adis16136: " Ramona Bolboaca
2022-11-22  8:27 ` [PATCH v6 5/9] iio: gyro: adis16260: " Ramona Bolboaca
2022-11-22  8:27 ` [PATCH v6 6/9] iio: imu: adis16400: " Ramona Bolboaca
2022-11-22  8:27 ` [PATCH v6 7/9] staging: iio: accel: adis16203: Call '__adis_initial_startup()' Ramona Bolboaca
2022-11-22  8:27 ` [PATCH v6 8/9] staging: iio: accel: adis16240: " Ramona Bolboaca
2022-11-22  8:27 ` Ramona Bolboaca [this message]
2022-11-23 20:35 ` [PATCH v6 0/9] Add '__adis_enable_irq()' 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=20221122082757.449452-10-ramona.bolboaca@analog.com \
    --to=ramona.bolboaca@analog.com \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nuno.sa@analog.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.