[PATCH 7/7] hwmon: Port TEMPMON sensor driver

Andrey Smirnov andrew.smirnov at gmail.com
Mon Dec 7 11:40:30 PST 2015


On Mon, Dec 7, 2015 at 11:05 AM, Trent Piepho <tpiepho at kymetacorp.com> wrote:
> On Sun, 2015-12-06 at 23:52 -0800, Andrey Smirnov wrote:
>> +
>> +       imx_thermal->sensor.name = of_get_property(dev->device_node,
>> +
>> "barebox,sensor-name",
>> +                                                  NULL);
>
> Wouldn't aliases the proper OF way to do this?

I must admit I am not familiar with the feature you are talking about
(or maybe I am just not understanding what you mean well), can you
give me a very brief example? Given my ignorance I wouldn't be
surprised that it is.

Thanks,
Andrey



More information about the barebox mailing list