pinctrl: sh-pfc: r8a7796: Deduplicate VIN5 pin definitions
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 9 Jan 2019 14:55:28 +0000 (15:55 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 21 Jan 2019 12:24:52 +0000 (13:24 +0100)
commit08b7e2112a9b19ccc583617cd81714d0e98b7e79
tree4c2b5620a73ab842db6e261e7f3c2f339b334d58
parent99fdb920f5534d1c2f4b30c12eca4224ea260198
pinctrl: sh-pfc: r8a7796: Deduplicate VIN5 pin definitions

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

This reduces kernel size by 240 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-r8a7796.c