summaryrefslogtreecommitdiffstats
path: root/drivers/aiodev/qoriq_thermal.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-10-16 12:15:39 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2018-10-18 09:02:24 +0200
commitd800b11619bb857ed857df1332c5b6e9c41d6414 (patch)
treec1f2339eecdc2ea8e5729d9d6768a14ac4752e13 /drivers/aiodev/qoriq_thermal.c
parent803163573d89da65840299712b27891e592cc883 (diff)
downloadbarebox-d800b11619bb857ed857df1332c5b6e9c41d6414.tar.gz
aiodev: qoriq_thermal: Give aiodev a more descriptive name
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/aiodev/qoriq_thermal.c')
-rw-r--r--drivers/aiodev/qoriq_thermal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/aiodev/qoriq_thermal.c b/drivers/aiodev/qoriq_thermal.c
index d29da02..7556fef 100644
--- a/drivers/aiodev/qoriq_thermal.c
+++ b/drivers/aiodev/qoriq_thermal.c
@@ -232,6 +232,7 @@ static int qoriq_tmu_probe(struct device_d *dev)
data->aiodev.num_channels = 1;
data->aiodev.hwdev = dev;
+ data->aiodev.name = "thermal-sensor";
data->aiodev.channels = xmalloc(data->aiodev.num_channels *
sizeof(data->aiodev.channels[0]));
data->aiodev.channels[0] = &data->aiochan;