diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2018-10-16 12:15:39 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-10-18 09:02:24 +0200 |
commit | d800b11619bb857ed857df1332c5b6e9c41d6414 (patch) | |
tree | c1f2339eecdc2ea8e5729d9d6768a14ac4752e13 | |
parent | 803163573d89da65840299712b27891e592cc883 (diff) | |
download | barebox-d800b11619bb857ed857df1332c5b6e9c41d6414.tar.gz barebox-d800b11619bb857ed857df1332c5b6e9c41d6414.tar.xz |
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>
-rw-r--r-- | drivers/aiodev/qoriq_thermal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/aiodev/qoriq_thermal.c b/drivers/aiodev/qoriq_thermal.c index d29da02a68..7556fef025 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; |