All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] iio: Add kernel-docs and rename iio_trigger_poll_chained
@ 2023-03-02 13:04 Mehdi Djait
  2023-03-02 13:04 ` [PATCH v2 1/2] iio: Improve the kernel-doc of iio_trigger_poll Mehdi Djait
  2023-03-02 13:04 ` [PATCH v2 2/2] iio: Rename iio_trigger_poll_chained and add kernel-doc Mehdi Djait
  0 siblings, 2 replies; 10+ messages in thread
From: Mehdi Djait @ 2023-03-02 13:04 UTC (permalink / raw)
  To: jic23, lars, andriy.shevchenko; +Cc: linux-iio, linux-kernel, Mehdi Djait

The main goal behind the kernel-docs is to give a hint where the
functions are expected to be called. 

Renaming iio_trigger_poll_chained() to iio_trigger_poll_nested() came
from a Jonathan's suggestion in [1]

I am a little bit unsure about moving the kernel-doc of iio_trigger_poll
to industrialio-trigger.c 
My motivation behind it:
- having the source code together with the documentation tends to be 
better for understanding 
- make it easier to understand the _nested in iio_trigger_poll_nested 
(the call to handle_nested_irq)

[1] https://lore.kernel.org/linux-iio/Y+6QoBLh1k82cJVN@carbian/

--
Kind Regards
Mehdi Djait

Mehdi Djait (2):
  iio: Improve the kernel-doc of iio_trigger_poll
  iio: Rename iio_trigger_poll_chained and add kernel-doc

 drivers/iio/accel/bma400_core.c               |  2 +-
 drivers/iio/accel/kionix-kx022a.c             |  2 +-
 drivers/iio/accel/mma8452.c                   |  2 +-
 drivers/iio/accel/msa311.c                    |  2 +-
 drivers/iio/adc/ad7606.c                      |  2 +-
 drivers/iio/adc/at91-sama5d2_adc.c            |  2 +-
 drivers/iio/adc/max11410.c                    |  2 +-
 .../common/st_sensors/st_sensors_trigger.c    |  4 ++--
 drivers/iio/gyro/fxas21002c_core.c            |  2 +-
 drivers/iio/gyro/mpu3050-core.c               |  2 +-
 drivers/iio/humidity/hts221_buffer.c          |  2 +-
 drivers/iio/industrialio-trigger.c            | 19 +++++++++++++++++--
 drivers/iio/light/acpi-als.c                  |  2 +-
 drivers/iio/light/rpr0521.c                   |  2 +-
 drivers/iio/light/st_uvis25_core.c            |  2 +-
 drivers/iio/light/vcnl4000.c                  |  2 +-
 drivers/iio/light/vcnl4035.c                  |  2 +-
 drivers/iio/potentiostat/lmp91000.c           |  2 +-
 drivers/iio/pressure/zpa2326.c                |  2 +-
 drivers/iio/proximity/as3935.c                |  2 +-
 drivers/iio/trigger/iio-trig-loop.c           |  2 +-
 include/linux/iio/trigger.h                   |  8 +-------
 22 files changed, 39 insertions(+), 30 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-03-04 20:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-02 13:04 [PATCH v2 0/2] iio: Add kernel-docs and rename iio_trigger_poll_chained Mehdi Djait
2023-03-02 13:04 ` [PATCH v2 1/2] iio: Improve the kernel-doc of iio_trigger_poll Mehdi Djait
2023-03-02 15:54   ` Andy Shevchenko
2023-03-02 16:18     ` Mehdi Djait
2023-03-02 16:23       ` Andy Shevchenko
2023-03-04 16:42         ` Jonathan Cameron
2023-03-04 16:46   ` Jonathan Cameron
2023-03-04 20:21     ` Mehdi Djait
2023-03-02 13:04 ` [PATCH v2 2/2] iio: Rename iio_trigger_poll_chained and add kernel-doc Mehdi Djait
2023-03-04 16:50   ` Jonathan Cameron

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.