Re: [PATCH 1/3] include: linux: i2c: more helpers for declaring i2c drivers
From: Wolfram Sang
Date: Mon Jun 24 2019 - 04:44:32 EST
> Okay, what's the correct initialization method then ?
> Just convert it to already existing module_i2c_driver() ?
"module_platform_driver" you mean? That's tricky because it can
introduce regressions easily. I had one situation where one wanted
subsys_init and one wanted module_init.
The correct solution is to fix the boot dependency in the affected I2C
client drivers. That definately needs HW and thorough testing.
It may also need something better than the current deferred probe. Big
Description: PGP signature