diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2015-10-08 13:35:52 +0300 |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2015-11-03 10:59:38 +0300 |
commit | 79653fbb3365002899e7d25ec5ca96aff4241ede (patch) | |
tree | 8a0cc66fcc1f0754211635339369b6e730e437b4 /drivers | |
parent | 7b9d9d88158e99a6a17a292ec4ec47105a771c4f (diff) | |
download | linux-79653fbb3365002899e7d25ec5ca96aff4241ede.tar.xz |
leds-bcm6328: print invalid LED
Print invalid LED instead of warning only about maximum LED value.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/leds/leds-bcm6328.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-bcm6328.c b/drivers/leds/leds-bcm6328.c index 1793727bc9ae..e1c19557450f 100644 --- a/drivers/leds/leds-bcm6328.c +++ b/drivers/leds/leds-bcm6328.c @@ -373,7 +373,7 @@ static int bcm6328_leds_probe(struct platform_device *pdev) continue; if (reg >= BCM6328_LED_MAX_COUNT) { - dev_err(dev, "invalid LED (>= %d)\n", + dev_err(dev, "invalid LED (%u >= %d)\n", reg, BCM6328_LED_MAX_COUNT); continue; } |