[PATCH 3/4] Convert PowerPC MPC i2c to of_platform_driver from platform_driver

Kumar Gala galak at kernel.crashing.org
Tue Dec 11 02:34:53 EST 2007


On Dec 9, 2007, at 5:36 PM, Jon Smirl wrote:

> Convert MPC i2c driver from being a platform_driver to an open  
> firmware version. Error returns were improved. Routine names were  
> changed from fsl_ to mpc_ to make them match the file name.
>
> Signed-off-by: Jon Smirl <jonsmirl at gmail.com>
> ---
>
> arch/powerpc/sysdev/fsl_soc.c |   96 ---------------------
> drivers/i2c/busses/i2c-mpc.c  |  190 +++++++++++++++++++++++++++ 
> +-------------
> 2 files changed, 129 insertions(+), 157 deletions(-)

this patch breaks arch/ppc users which are platform_driver based and  
I'm guessing a number of arch/powerpc users which don't  
of_platform_bus_probe().

Also, you should split out the conversion and error fixing into  
separate patches.

- k



More information about the Linuxppc-dev mailing list