On Tue, Mar 07, 2023 at 05:53:43PM +0100, Miquel Raynal wrote: > Depending on device.c for pure OF handling is considered > backwards. Let's extract the content of of_device_request_module() to > have the real logic under module.c. > > The next step will be to convert users of of_device_request_module() to > use the new helper. > > Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx> > --- > drivers/of/device.c | 25 ++----------------------- > drivers/of/module.c | 30 ++++++++++++++++++++++++++++++ > include/linux/of.h | 6 ++++++ > 3 files changed, 38 insertions(+), 23 deletions(-) Other than the licensing inherited, Reviewed-by: Rob Herring <robh@xxxxxxxxxx>