hwmon: struct device - replace bus_id with dev_name(), dev_set_name()
[safe/jmp/linux-2.6] / drivers / hwmon / lm75.c
index 8f9595f..55bd87c 100644 (file)
@@ -190,7 +190,7 @@ lm75_probe(struct i2c_client *client, const struct i2c_device_id *id)
        }
 
        dev_info(&client->dev, "%s: sensor '%s'\n",
-               data->hwmon_dev->bus_id, client->name);
+                dev_name(data->hwmon_dev), client->name);
 
        return 0;