From: Mark Brown <broonie@kernel.org>
To: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Hans de Goede" <hansg@kernel.org>,
"Mark Gross" <markgross@kernel.org>
Cc: Armin Wolf <W_Armin@gmx.de>, Jordan Brough <jordan@brough.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux Next Mailing List <linux-next@vger.kernel.org>,
"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
"Rafael J. Wysocki" <rafael@kernel.org>
Subject: linux-next: manual merge of the drivers-x86 tree with the pm tree
Date: Fri, 4 Dec 2026 15:45:34 +0000 [thread overview]
Message-ID: <axLgHiAOH-r9fH39@sirena.org.uk> (raw)
[-- Attachment #1: Type: text/plain, Size: 1628 bytes --]
Hi all,
Today's linux-next merge of the drivers-x86 tree got a conflict in:
drivers/platform/x86/uniwill/uniwill-acpi.c
between commit:
e8303c339ce44 ("ACPI: battery: add acpi_ prefix to the battery hook API")
from the pm tree and commit:
006fc2bb612d6 ("platform/x86: uniwill-laptop: Expose raw battery capacity to userspace")
from the drivers-x86 tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
diff --cc drivers/platform/x86/uniwill/uniwill-acpi.c
index 0aee0219cf0e1,e2a6a704e942e..0000000000000
--- a/drivers/platform/x86/uniwill/uniwill-acpi.c
+++ b/drivers/platform/x86/uniwill/uniwill-acpi.c
@@@ -2224,7 -2269,12 +2269,12 @@@ static int uniwill_battery_init(struct
data->hook.add_battery = uniwill_add_battery;
data->hook.remove_battery = uniwill_remove_battery;
+ sysfs_attr_init(&data->charge_full_raw_attr.attr);
+ data->charge_full_raw_attr.attr.name = "charge_full_raw";
+ data->charge_full_raw_attr.attr.mode = 0444;
+ data->charge_full_raw_attr.show_const = charge_full_raw_show;
+
- return devm_battery_hook_register(data->dev, &data->hook);
+ return devm_acpi_battery_hook_register(data->dev, &data->hook);
}
static int uniwill_notifier_call(struct notifier_block *nb, unsigned long action, void *dummy)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2026-12-04 15:45 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 15:45 Mark Brown [this message]
2026-12-04 15:50 ` Rafael J. Wysocki (Intel)
2026-12-04 20:52 ` Armin Wolf
2026-12-04 21:06 ` Rafael J. Wysocki (Intel)
-- strict thread matches above, loose matches on Subject: below --
2026-11-16 19:26 Mark Brown
2026-11-16 19:39 ` Ilpo Järvinen
2022-12-06 0:24 Stephen Rothwell
2022-09-19 4:20 Stephen Rothwell
2022-09-19 7:05 ` Hans de Goede
2022-03-03 2:32 Stephen Rothwell
2015-06-19 5:04 Michael Ellerman
2015-06-19 19:38 ` Darren Hart
2014-01-22 5:42 Stephen Rothwell
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=axLgHiAOH-r9fH39@sirena.org.uk \
--to=broonie@kernel.org \
--cc=W_Armin@gmx.de \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=jordan@brough.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=markgross@kernel.org \
--cc=rafael.j.wysocki@intel.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®