Re: [PATCH] pinctrl: msm: Use dynamic GPIO numbering

From: Timur Tabi
Date: Wed Feb 07 2018 - 09:52:11 EST


On 2/7/18 7:52 AM, Linus Walleij wrote:
Otherwise we need something that conserves base 0 for singular
TLMM drivers and make it -1 for newer platforms with several
instances.

static int base = 0;

chip->base = base;
base = -1;

--
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm
Technologies, Inc. Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.