diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 16:10:23 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 16:10:23 -0500 |
commit | 53a9c87e7e02abf3575be98c9fb2018fa30a61b9 (patch) | |
tree | 63a5578e11dae8dc48f507f4133a57e42ab78456 /drivers/base | |
parent | 595e0eb06756bdf332c76176980eded1ec50032a (diff) |
Revert "drivers: base: Convert print_symbol to %pSR"
This reverts commit e79798659339be800bf553c0b6fb06745aecf37f as %pSR
isn't in the tree yet.
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c index 2937c631ea41..27603a6c0a93 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c | |||
@@ -97,8 +97,8 @@ static ssize_t dev_attr_show(struct kobject *kobj, struct attribute *attr, | |||
97 | if (dev_attr->show) | 97 | if (dev_attr->show) |
98 | ret = dev_attr->show(dev, dev_attr, buf); | 98 | ret = dev_attr->show(dev, dev_attr, buf); |
99 | if (ret >= (ssize_t)PAGE_SIZE) { | 99 | if (ret >= (ssize_t)PAGE_SIZE) { |
100 | printk("dev_attr_show: %pSR returned bad count\n", | 100 | print_symbol("dev_attr_show: %s returned bad count\n", |
101 | dev_attr->show); | 101 | (unsigned long)dev_attr->show); |
102 | } | 102 | } |
103 | return ret; | 103 | return ret; |
104 | } | 104 | } |