This makes the driver use the data pointer added to the gpio_chipOkay, so this is a cleanup that makes sense for mainline.
[PL: Fixes 6e52cced1aa58 ("gpio: rcar: Implement gpiochip.set_multiple()")]Does it fix set_multiple? ... seems so.
Fixing set_multiple is possible with this oneliner, right?
@@ -541,7 +532,7 @@ static int gpio_rcar_probe(struct platform_device *pdev)The patch is okay and now I understand why you want it. It would have
been nice if changelog told me directly.
Can set_multiple use container_of() too? We get less differences
between 4.4 and 4.4-cip that way, and it is still one-liner.
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany