projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'for-linus-5.10b-rc1c-tag' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git]
/
drivers
/
thermal
/
thermal_sysfs.c
diff --git
a/drivers/thermal/thermal_sysfs.c
b/drivers/thermal/thermal_sysfs.c
index
8c23121
..
a6f371f
100644
(file)
--- a/
drivers/thermal/thermal_sysfs.c
+++ b/
drivers/thermal/thermal_sysfs.c
@@
-448,7
+448,7
@@
static umode_t thermal_zone_passive_is_visible(struct kobject *kobj,
struct attribute *attr,
int attrno)
{
- struct device *dev =
container_of(kobj, struct device,
kobj);
+ struct device *dev =
kobj_to_dev(
kobj);
struct thermal_zone_device *tz;
enum thermal_trip_type trip_type;
int count, passive = 0;