diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-09-08 10:14:23 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-09-08 10:14:23 +0200 |
commit | 3fd5fdb230b60a4cf26eeb83d95c73ac6ad926c8 (patch) | |
tree | 6c7758227f63bf0356b4903e23607f4e49e60f7f /libdde-linux26/contrib/drivers/base | |
parent | d1b6923118b808f498bed8aa51b5d2562f07c0f4 (diff) |
Revert "libdde-linux26: avoid compiler warning"
This reverts commit eecbb7e726e5e6c1978400cd6e48f3b4b9e861fb.
Diffstat (limited to 'libdde-linux26/contrib/drivers/base')
-rw-r--r-- | libdde-linux26/contrib/drivers/base/attribute_container.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdde-linux26/contrib/drivers/base/attribute_container.c b/libdde-linux26/contrib/drivers/base/attribute_container.c index e0f7859f..b9cda053 100644 --- a/libdde-linux26/contrib/drivers/base/attribute_container.c +++ b/libdde-linux26/contrib/drivers/base/attribute_container.c @@ -167,7 +167,7 @@ attribute_container_add_device(struct device *dev, ic->classdev.parent = get_device(dev); ic->classdev.class = cont->class; cont->class->dev_release = attribute_container_release; - dev_set_name(&ic->classdev, "%s", dev_name(dev)); + dev_set_name(&ic->classdev, dev_name(dev)); if (fn) fn(cont, dev, &ic->classdev); else |