[GIT PULL] siox: Changes for v6.9-rc1
From: Uwe Kleine-König
Date: Thu Mar 21 2024 - 17:33:24 EST
Hello Linus,
I hoped these changes will reach you via Greg's char-misc pull request
but with Greg being mostly away from keyboard currently this fell
through the cracks. See
https://lore.kernel.org/lkml/k7pd3oar3e3mogaokjl7mykqy3w3cifl4dgbukmnsynyqgk5ze@ch5mn5xln2j7
for the conversation leading to my initial pull request to Greg. Now
that he sent his pull request for char-misc, I guess it's official that
these changes won't make it in via this path.
So I ask you directly to pull these changes for 6.9-rc1. The commits I
ask you to pull are in next since next-20240312. The changes were
already in next/20240308 leading to
4ab973203404e2b2499ddea62dac60ea34d4c572, I rebased these to drop two
patches that are part of Greg's char-misc PR. Git gets merging Greg's
char-misc branch and my branch right without problems even though both
change drivers/siox/siox-core.c.
The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:
Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git tags/siox/for-6.9-rc1
for you to fetch changes up to db418d5f1ca5b7bafc8eaa9393ea18a7901bb0ed:
siox: bus-gpio: Simplify using devm_siox_* functions (2024-03-08 22:01:10 +0100)
I'd be glad if these made it into v6.9-rc1.
Thanks
Uwe
----------------------------------------------------------------
SIOX changes for 6.9-rc1
These patches rework how siox device registration works yielding a saner
API. This allows to simplify the gpio bus driver using two new devm
functions.
----------------------------------------------------------------
Uwe Kleine-König (4):
siox: Don't pass the reference on a master in siox_master_register()
siox: Provide a devm variant of siox_master_alloc()
siox: Provide a devm variant of siox_master_register()
siox: bus-gpio: Simplify using devm_siox_* functions
drivers/siox/siox-bus-gpio.c | 62 ++++++++++++++------------------------------
drivers/siox/siox-core.c | 46 ++++++++++++++++++++++++++++++++
drivers/siox/siox.h | 4 +++
3 files changed, 70 insertions(+), 42 deletions(-)
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
Attachment:
signature.asc
Description: PGP signature