Re: [PATCH 2/3] Convert PowerPC MPC i2c to of_platform_driver from platform_driver

2 messages, 2 authors, 2008-01-23 · open the first message on its own page

Re: [PATCH 2/3] Convert PowerPC MPC i2c to of_platform_driver from platform_driver

From: Jon Loeliger <hidden>
Date: 2008-01-23 14:31:17

So, like, the other day Jon Smirl mumbled:
Convert MPC i2c driver from a platform_driver to a
of_platform_driver. Add the ability to dynamically load i2c drivers
based on device tree names. Routine names were changed from fsl_ to
mpc_ to make them match the file name. Common code moved to
powerpc-common.* Orginal ppc driver left intact for deletion when ppc
arch is removed.
This seems backwards to me.  I was under the impression
that our trend was _toward_ "Freescale" and "fsl" names...?
And aren't the drivers also already using "fsl-i2c" in the
DTS files as called out in the b-w-o.txt too?

Grumble long lines not hard-limited to 70-ish columns,
yes, even in log messages... :-)

jdl

Re: [PATCH 2/3] Convert PowerPC MPC i2c to of_platform_driver from platform_driver

From: Jon Smirl <hidden>
Date: 2008-01-23 14:40:39

On 1/23/08, Jon Loeliger [off-list ref] wrote:
So, like, the other day Jon Smirl mumbled:
quoted
Convert MPC i2c driver from a platform_driver to a
of_platform_driver. Add the ability to dynamically load i2c drivers
based on device tree names. Routine names were changed from fsl_ to
mpc_ to make them match the file name. Common code moved to
powerpc-common.* Orginal ppc driver left intact for deletion when ppc
arch is removed.
This seems backwards to me.  I was under the impression
that our trend was _toward_ "Freescale" and "fsl" names...?
And aren't the drivers also already using "fsl-i2c" in the
DTS files as called out in the b-w-o.txt too?
The routine names should match the file name which then determines the
module name. I didn't want to change the module name so I made the
routines names match the module name.
Grumble long lines not hard-limited to 70-ish columns,
yes, even in log messages... :-)

jdl

-- 
Jon Smirl
jonsmirl@gmail.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help