Commit 6ba837ca authored by Vaibhav Gupta's avatar Vaibhav Gupta

software: kernel: hwmon: Update device name

Signed-off-by: 's avatarVaibhav Gupta <vaibhav.gupta@cern.ch>
parent 7fa32a82
...@@ -66,11 +66,11 @@ static const struct hwmon_chip_info ft_hwmon_temp_chip_info = { ...@@ -66,11 +66,11 @@ static const struct hwmon_chip_info ft_hwmon_temp_chip_info = {
int ft_hwmon_init(struct fmctdc_dev *ft) int ft_hwmon_init(struct fmctdc_dev *ft)
{ {
char device_type[] = "Temperature - FMC TDC 1NS 5CHA - "; char device_type[] = "Temperature - ";
struct device *dev = &ft->pdev->dev; struct device *dev = &ft->pdev->dev;
ft->hwmon_dev = devm_hwmon_device_register_with_info(dev, ft->hwmon_dev = devm_hwmon_device_register_with_info(dev,
"ft_temperature", "FMC_TDC_1NS_5CHA",
ft, ft,
&ft_hwmon_temp_chip_info, &ft_hwmon_temp_chip_info,
NULL); NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment