Re: [PATCH v2 2/5] thermal: core: Get thermal zone by id

2020-06-30 Thread Zhang Rui
On Thu, 2020-06-25 at 16:45 +0200, Daniel Lezcano wrote: > The next patch will introduce the generic netlink protocol to handle > events, sampling and command from the thermal framework. In order to > deal with the thermal zone, it uses its unique identifier to > characterize it in the message. Pas

Re: [PATCH v2 2/5] thermal: core: Get thermal zone by id

2020-06-30 Thread Amit Kucheria
On Thu, Jun 25, 2020 at 8:15 PM Daniel Lezcano wrote: > > The next patch will introduce the generic netlink protocol to handle > events, sampling and command from the thermal framework. In order to > deal with the thermal zone, it uses its unique identifier to > characterize it in the message. Pas

[PATCH v2 2/5] thermal: core: Get thermal zone by id

2020-06-25 Thread Daniel Lezcano
The next patch will introduce the generic netlink protocol to handle events, sampling and command from the thermal framework. In order to deal with the thermal zone, it uses its unique identifier to characterize it in the message. Passing an integer is more efficient than passing an entire string.