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 4/9] iio: gyro: adis16136: Call '__adis_initial_startup()' in probe
Date: Tue, 22 Nov 2022 10:27:52 +0200	[thread overview]
Message-ID: <20221122082757.449452-5-ramona.bolboaca@analog.com> (raw)
In-Reply-To: <20221122082757.449452-1-ramona.bolboaca@analog.com>

Call '__adis_initial_startup()' instead of its locked variant in
'adis16136_probe()'.
The locks are not needed at this point.

Signed-off-by: Ramona Bolboaca <ramona.bolboaca@analog.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
---
 drivers/iio/gyro/adis16136.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/gyro/adis16136.c b/drivers/iio/gyro/adis16136.c
index 71295709f2b9..c95cf41be34b 100644
--- a/drivers/iio/gyro/adis16136.c
+++ b/drivers/iio/gyro/adis16136.c
@@ -429,7 +429,7 @@ static int adis16136_initial_setup(struct iio_dev *indio_dev)
 	uint16_t prod_id;
 	int ret;
 
-	ret = adis_initial_startup(&adis16136->adis);
+	ret = __adis_initial_startup(&adis16136->adis);
 	if (ret)
 		return ret;
 
-- 
2.25.1


  parent reply	other threads:[~2022-11-22  8:28 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 ` Ramona Bolboaca [this message]
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 ` [PATCH v6 9/9] iio: imu: adis: Remove adis_initial_startup function Ramona Bolboaca
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-5-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.