diff options
Diffstat (limited to 'drivers/pnp/card.c')
-rw-r--r-- | drivers/pnp/card.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pnp/card.c b/drivers/pnp/card.c index 3b48aef8f4eb..da1c9909eb44 100644 --- a/drivers/pnp/card.c +++ b/drivers/pnp/card.c | |||
@@ -198,8 +198,7 @@ int pnp_add_card(struct pnp_card *card) | |||
198 | card->dev.release = &pnp_release_card; | 198 | card->dev.release = &pnp_release_card; |
199 | error = device_register(&card->dev); | 199 | error = device_register(&card->dev); |
200 | if (error) { | 200 | if (error) { |
201 | pnp_err("sysfs failure, card '%s' will be unavailable", | 201 | dev_err(&card->dev, "could not register (err=%d)\n", error); |
202 | card->dev.bus_id); | ||
203 | return error; | 202 | return error; |
204 | } | 203 | } |
205 | 204 | ||