From: Armin Wolf <W_Armin@gmx.de>
To: "Rafael J. Wysocki (Intel)" <rafael@kernel.org>,
Mark Brown <broonie@kernel.org>
Cc: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Hans de Goede" <hansg@kernel.org>,
"Mark Gross" <markgross@kernel.org>,
"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>
Subject: Re: linux-next: manual merge of the drivers-x86 tree with the pm tree
Date: Fri, 4 Dec 2026 21:52:20 +0100 [thread overview]
Message-ID: <df41c6a2-4c09-4582-80a7-5880b183a743@gmx.de> (raw)
In-Reply-To: <CAJZ5v0ja63SWfLB1zTS0RT4zKiBecJXkmwd37zRjF=n7y2HgYg@mail.gmail.com>
Am 04.12.26 um 16:50 schrieb Rafael J. Wysocki (Intel):
> On Fri, Dec 4, 2026 at 4:45 PM Mark Brown <broonie@kernel.org> wrote:
>>
>> 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)
>
> Thanks for taking care of this, the conflict resolution looks good to me.
Why does the rename operation add partial support for charge_full_raw?
Thanks,
Armin Wolf
next prev parent reply other threads:[~2026-12-04 20:52 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 15:45 Mark Brown
2026-12-04 15:50 ` Rafael J. Wysocki (Intel)
2026-12-04 20:52 ` Armin Wolf [this message]
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=df41c6a2-4c09-4582-80a7-5880b183a743@gmx.de \
--to=w_armin@gmx.de \
--cc=broonie@kernel.org \
--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®