pinctrl: sh-pfc: r8a779[01]: Move 'union vin_data' to shared header file
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 2 Oct 2015 23:21:15 +0000 (02:21 +0300)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 20 Oct 2015 14:03:10 +0000 (16:03 +0200)
commit423caa52534ff15a63a8f86f8ecb99cfa8e9cbca
treec15c989f36c8a2142e1e268b4cf517f1d7d89df6
parent819fd4bfcc84805c48291de511c917596e911ffa
pinctrl: sh-pfc: r8a779[01]: Move 'union vin_data' to shared header file

R8A7790/1 PFC  drivers use almost identical  'union vin_data' and completely
identical VIN_DATA_PIN_GROUP() macro; we thus can  move them into the shared
header file...

Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/sh-pfc/pfc-r8a7790.c
drivers/pinctrl/sh-pfc/pfc-r8a7791.c
drivers/pinctrl/sh-pfc/sh_pfc.h