PCI/sysfs: Use __free() in reset_method_store()
Use __free() from cleanup.h to handle freeing options in reset_method_store() as it simplifies the code flow. Link: https://lore.kernel.org/r/20241028174046.1736-3-ilpo.jarvinen@linux.intel.com Signed-off-by:Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by:
Krzysztof Wilczyński <kwilczynski@kernel.org>
Loading
Please sign in to comment