mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04: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 <[email protected]> Acked-by: Pavel Machek <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
96766a3caa
commit
c640be26f7
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue