On Thu, Oct 11, 2018 at 04:50:00AM +0000, Sinan Kaya wrote: > The difference between pci_reset_function_locked() and > __pci_reset_function_locked() is the saving and restoring of the registers. > Unify these API by adding saverestore argument that caller passes. Adding random boolean arguments doesn't really help the API. Either make this another flag for reset_type or if there is a clear benefit add an additional flags parameter with well described flags.