From: Lorenzo Bianconi <lorenzo@kernel.org>
To: Philippe De Muyter <Philippe.DeMuyter@macq.eu>
Cc: linux-iio@vger.kernel.org, Philippe De Muyter <phdm@macqel.be>
Subject: Re: [PATCH v2 2/2] iio: imu: st_lsm6dsx: add 'mount_matrix' sysfs entry to gyro channel.
Date: Mon, 16 Jan 2023 14:19:27 +0100 [thread overview]
Message-ID: <Y8VO38sQ80l0BBch@lore-desk> (raw)
In-Reply-To: <1673874434-30750-3-git-send-email-Philippe.DeMuyter@macq.eu>
[-- Attachment #1: Type: text/plain, Size: 1390 bytes --]
> From: Philippe De Muyter <phdm@macqel.be>
>
> Signed-off-by: Philippe De Muyter <phdm@macqel.be>
> ---
> drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
> diff --git a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h
> index 5b6f195748fc..499fcf8875b4 100644
> --- a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h
> +++ b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h
> @@ -93,7 +93,7 @@ enum st_lsm6dsx_hw_id {
> .endianness = IIO_LE, \
> }, \
> .event_spec = &st_lsm6dsx_event, \
> - .ext_info = st_lsm6dsx_accel_ext_info, \
> + .ext_info = st_lsm6dsx_ext_info, \
> .num_event_specs = 1, \
> }
>
> @@ -113,6 +113,7 @@ enum st_lsm6dsx_hw_id {
> .storagebits = 16, \
> .endianness = IIO_LE, \
> }, \
> + .ext_info = st_lsm6dsx_ext_info, \
> }
>
> struct st_lsm6dsx_reg {
> @@ -528,7 +529,7 @@ st_lsm6dsx_device_set_enable(struct st_lsm6dsx_sensor *sensor, bool enable)
> }
>
> static const
> -struct iio_chan_spec_ext_info __maybe_unused st_lsm6dsx_accel_ext_info[] = {
> +struct iio_chan_spec_ext_info __maybe_unused st_lsm6dsx_ext_info[] = {
> IIO_MOUNT_MATRIX(IIO_SHARED_BY_ALL, st_lsm6dsx_get_mount_matrix),
> { }
> };
> --
> 2.31.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2023-01-16 13:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-16 13:07 [PATCH v2 0/2] iio: imu: st_lsm6dsx: add 'mount_matrix' sysfs entry to gyro channel Philippe De Muyter
2023-01-16 13:07 ` [PATCH v2 1/2] iio: imu: st_lsm6dsx: fix naming of 'struct iio_info' in st_lsm6dsx_shub.c Philippe De Muyter
2023-01-16 13:20 ` Lorenzo Bianconi
2023-01-16 13:07 ` [PATCH v2 2/2] iio: imu: st_lsm6dsx: add 'mount_matrix' sysfs entry to gyro channel Philippe De Muyter
2023-01-16 13:19 ` Lorenzo Bianconi [this message]
2023-01-21 18:17 ` [PATCH v2 0/2] " 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=Y8VO38sQ80l0BBch@lore-desk \
--to=lorenzo@kernel.org \
--cc=Philippe.DeMuyter@macq.eu \
--cc=linux-iio@vger.kernel.org \
--cc=phdm@macqel.be \
/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.