Merge tag 'gpio-updates-for-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / drivers / gpio / gpio-vf610.c
index 9033db00c360dbb50176d7bd7a38f30247eceeb6..d3f3a69d49077ed02f4499f9a7dc674339c4f93c 100644 (file)
@@ -317,7 +317,7 @@ static int vf610_gpio_probe(struct platform_device *pdev)
 
        gc = &port->gc;
        gc->parent = dev;
-       gc->label = "vf610-gpio";
+       gc->label = dev_name(dev);
        gc->ngpio = VF610_GPIO_PER_PORT;
        gc->base = of_alias_get_id(np, "gpio") * VF610_GPIO_PER_PORT;