On Thu, Dec 14, 2017 at 3:29 PM, Bartosz Golaszewski <b...@bgdev.pl> wrote:
> Users often pass a pointer to a static string to gpiochip_add_data() > family of functions. Avoid unnecessary memory allocations with the > provided helper routine. > > While at it: use a ternary operator instead of an if else for brevity. > > Signed-off-by: Bartosz Golaszewski <b...@bgdev.pl> Patch applied. (Patch 1/2 was already applied from an earlier version). Yours, Linus Walleij