pinctrl: sh-pfc: r8a77980: Deduplicate VIN1 pin definitions
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 9 Jan 2019 14:57:57 +0000 (15:57 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 21 Jan 2019 12:24:52 +0000 (13:24 +0100)
commit9dd1731306d90f08d726987d3d7e39ba6e23a015
tree32098a32a771af9e2a94e2a2c1123d9057f73ee1
parent81c585c96b7dd47caede1bf6d2920a81498385dc
pinctrl: sh-pfc: r8a77980: Deduplicate VIN1 pin definitions

Use union vin_data12 and VIN_DATA_PIN_GROUP() to reduce redundancies in
pin definitions for the VIN1 channel.

This reduces kernel size by 144 bytes.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
drivers/pinctrl/sh-pfc/pfc-r8a77980.c