All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiner Kallweit <hkallweit1@gmail.com>
To: Jean Delvare <jdelvare@suse.com>,
	Andi Shyti <andi.shyti@kernel.org>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	Len Brown <lenb@kernel.org>
Cc: "linux-i2c@vger.kernel.org" <linux-i2c@vger.kernel.org>,
	linux-acpi@vger.kernel.org
Subject: [PATCH 0/2] Add and use new helper acpi_use_parent_companion
Date: Sun, 15 Oct 2023 23:33:22 +0200	[thread overview]
Message-ID: <90bd1071-317e-4dfe-b94b-9bcee15d66c5@gmail.com> (raw)

In several drivers devices use the ACPI companion of the parent.
Add a helper for this use case to avoid code duplication.

Heiner Kallweit (2):
  ACPI: Add helper acpi_use_parent_companion
  i2c: i801: Use new helper acpi_use_parent_companion

 drivers/i2c/busses/i2c-i801.c | 2 +-
 include/linux/acpi.h          | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

-- 
2.42.0


             reply	other threads:[~2023-10-15 21:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-15 21:33 Heiner Kallweit [this message]
2023-10-15 21:34 ` [PATCH 1/2] ACPI: Add helper acpi_use_parent_companion Heiner Kallweit
2023-10-15 21:36   ` [PATCH 2/2] i2c: i801: Use new " Heiner Kallweit
2023-10-16 16:09     ` Wilczynski, Michal
2023-10-16 17:32       ` Rafael J. Wysocki
2023-10-16 20:05         ` Heiner Kallweit
2023-10-24 13:09           ` Jean Delvare
2023-10-28 13:29             ` Wolfram Sang
2023-10-24 17:34     ` Andi Shyti
2023-10-28 13:31     ` Wolfram Sang
2023-10-18 10:51   ` [PATCH 1/2] ACPI: Add " Rafael J. Wysocki
2023-10-18 12:19     ` Heiner Kallweit
2023-10-24 17:33   ` Andi Shyti
2023-10-26 17:26     ` Wolfram Sang
2023-10-26 20:17       ` Heiner Kallweit
2023-10-28 13:30   ` Wolfram Sang

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=90bd1071-317e-4dfe-b94b-9bcee15d66c5@gmail.com \
    --to=hkallweit1@gmail.com \
    --cc=andi.shyti@kernel.org \
    --cc=jdelvare@suse.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=rafael@kernel.org \
    /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.