mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
[PATCH] pnp: fix two messages in manager.c
The wording of two messages in drivers/pnp/manager.c is incorrect. Fix that. Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
96766a3caa
commit
c640be26f7
@ -479,7 +479,7 @@ int pnp_auto_config_dev(struct pnp_dev *dev)
|
||||
int pnp_start_dev(struct pnp_dev *dev)
|
||||
{
|
||||
if (!pnp_can_write(dev)) {
|
||||
pnp_info("Device %s does not supported activation.", dev->dev.bus_id);
|
||||
pnp_info("Device %s does not support activation.", dev->dev.bus_id);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
@ -503,7 +503,7 @@ int pnp_start_dev(struct pnp_dev *dev)
|
||||
int pnp_stop_dev(struct pnp_dev *dev)
|
||||
{
|
||||
if (!pnp_can_disable(dev)) {
|
||||
pnp_info("Device %s does not supported disabling.", dev->dev.bus_id);
|
||||
pnp_info("Device %s does not support disabling.", dev->dev.bus_id);
|
||||
return -EINVAL;
|
||||
}
|
||||
if (dev->protocol->disable(dev)<0) {
|
||||
|
Loading…
Reference in New Issue
Block a user