On Mon, Jun 8, 2015 at 2:37 PM, Alexandre Courbot <[email protected]> wrote:
> On Mon, Jun 1, 2015 at 8:41 PM, Rojhalat Ibrahim <[email protected]> wrote:
>> There have been concerns that the function names gpiod_set_array() and
>> gpiod_get_array() might be confusing to users. One might expect
>> gpiod_get_array() to return array values, while it is actually the array
>> counterpart of gpiod_get(). To be consistent with the single descriptor API
>> gpiod_set_array() is renamed to gpiod_set_array_value().
>
> Linus, if you are ok with this change I suggest we merge it early in
> order to avoid conflicts as more people start using these APIs! :)

Actually, Rojhalat: could you define temporary macros to ease the
transition? Something like

#define gpiod_set_raw_array gpiod_set_raw_array_value

We would then take them out around 4.2, once all consumers are converted.
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to