diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2018-10-16 12:15:38 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-10-18 09:02:24 +0200 |
commit | 803163573d89da65840299712b27891e592cc883 (patch) | |
tree | cdd64112c611d294343e36ed00f0a145fc1c8f8e /drivers | |
parent | f16af961993a7af3cf9361c4fe0cb56eb499e518 (diff) | |
download | barebox-803163573d89da65840299712b27891e592cc883.tar.gz barebox-803163573d89da65840299712b27891e592cc883.tar.xz |
aiodev: imx_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')
-rw-r--r-- | drivers/aiodev/imx_thermal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/aiodev/imx_thermal.c b/drivers/aiodev/imx_thermal.c index c020a1091d..9e50708355 100644 --- a/drivers/aiodev/imx_thermal.c +++ b/drivers/aiodev/imx_thermal.c @@ -177,6 +177,7 @@ static int imx_thermal_probe(struct device_d *dev) imx_thermal->aiodev.num_channels = 1; imx_thermal->aiodev.hwdev = dev; + imx_thermal->aiodev.name = "thermal-sensor"; imx_thermal->aiodev.channels = xmalloc(imx_thermal->aiodev.num_channels * sizeof(imx_thermal->aiodev.channels[0])); |