ieee802154: fakelb: print number of created fake devices during probe
authorStefan Schmidt <stefan@osg.samsung.com>
Tue, 22 Nov 2016 13:02:07 +0000 (14:02 +0100)
committerStefan Schmidt <stefan@osg.samsung.com>
Wed, 30 Nov 2016 11:33:07 +0000 (12:33 +0100)
When using fakelb with different network sizes it becomes handy to have the
number of created fake devices printed in the log as well.

Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
drivers/net/ieee802154/fakelb.c

index ec387efb61d047e3444be02366ca86fdb1bfc1a7..0d673f7682ee065223b64462bc2c4df0a03826a0 100644 (file)
@@ -218,7 +218,7 @@ static int fakelb_probe(struct platform_device *pdev)
                        goto err_slave;
        }
 
-       dev_info(&pdev->dev, "added ieee802154 hardware\n");
+       dev_info(&pdev->dev, "added %i fake ieee802154 hardware devices\n", numlbs);
        return 0;
 
 err_slave: