mbox series

[v1,0/2] thermal: sysfs: Simplifications of trip point attribute callbacks

Message ID 5754079.DvuYhMxLoT@kreacher (mailing list archive)
Headers show
Series thermal: sysfs: Simplifications of trip point attribute callbacks | expand

Message

Rafael J. Wysocki Nov. 30, 2023, 6:27 p.m. UTC
Hi,

These patches simplify trip point attribute callbacks in two ways.

The first patch, which is a direct replacement for

https://patchwork.kernel.org/project/linux-pm/patch/4869676.GXAFRqVoOG@kreacher/

gets rid of redundant steps from the _store() callbacks for the trip point
temperature and hysteresis and makes them use zone locking only as necessary.

The second patch eliminates zone locking from all of the _show() callbacks
for trip point temperature, hysteresis and type, because it is not needed
there.

Please refer to the individual patch changelogs for details.

Thanks!