pinctrl: sh-pfc: r8a77970: Deduplicate VIN[01] pin definitions
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 9 Jan 2019 14:56:12 +0000 (15:56 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 21 Jan 2019 12:24:52 +0000 (13:24 +0100)
commit81c585c96b7dd47caede1bf6d2920a81498385dc
tree1b32e5eb8cda2726fe178d2ea37c32216159631e
parent08b7e2112a9b19ccc583617cd81714d0e98b7e79
pinctrl: sh-pfc: r8a77970: Deduplicate VIN[01] pin definitions

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

This reduces kernel size by 288 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-r8a77970.c