summaryrefslogtreecommitdiff
path: root/drivers/xen
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2020-01-07 00:27:08 +0100
committerLinus Walleij <linus.walleij@linaro.org>2020-01-07 13:57:17 +0100
commitbaf15647387e82c18933fcf6c9c2dd77e18e950f (patch)
treee4678f21290116a4f6a4b3fbcaed7edf4dbfef76 /drivers/xen
parent5ec008bfac7da212fa0d3dea6d30c372bd7034f2 (diff)
pinctrl: ingenic: Put ingenic_chip_info pointer in match data
Instead of passing a numeric ID as match data, and retrieve a pointer to the ingenic_chip_info structure in an ugly succession of if/else in the probe function, get the pointer to the ingenic_chip_info structure directly from the match data, and store the numeric ID inside the ingenic_chip_info structure. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Link: https://lore.kernel.org/r/20200106232711.559727-3-paul@crapouillou.net Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions