On Mon, Nov 9, 2020 at 10:55 PM Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote: > > This function is useful for internal use in GPIO library. > There will be new user coming, prepare a helper for the new comer > and the existing ones. Just to show how temporary variable is re-used here > enum pin_config_param mode = PIN_CONFIG_PERSIST_STATE; > + return gpio_set_config_with_argument_optional(desc, mode, !transitory); Leaving constant in the parameter line will make it either long or ugly split. -- With Best Regards, Andy Shevchenko