Re: [PATCH 1/1] power/supply/powersupply_sysfs: Add of_node name to uevent message if available

From: David Lechner
Date: Thu Jul 25 2019 - 14:06:57 EST


On 7/25/19 2:47 AM, Richard Tresidder wrote:
If the of_node name of the supply is available from the devicetree binding
then include it under the var POWER_SUPPLY_OF_NODE_NAME.
This helps where a consistent name is known via the device tree binding
but it is hard to identify based on the usual enumeration process.


Would it be possible to use of_device_uevent() instead of introducing a new
property?