Thread (37 messages) 37 messages, 2 authors, 2016-09-15

Re: [PATCH 4/9] net: ethernet: ti: cpts: move dt props parsing to cpts driver

flat view

From: Richard Cochran <richardcochran@gmail.com>
Date: 2016-09-14 13:55:53
Also in: linux-omap, lkml

On Wed, Sep 14, 2016 at 04:02:26PM +0300, Grygorii Strashko wrote:
Move DT properties parsing into CPTS driver to simplify consumer's
code and CPTS driver porting on other SoC in the future
(like Keystone 2).
And just who is the consumer?
 
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
---
 drivers/net/ethernet/ti/cpsw.c | 16 +---------------
 drivers/net/ethernet/ti/cpsw.h |  2 --
 drivers/net/ethernet/ti/cpts.c | 29 ++++++++++++++++++++++++++---
 drivers/net/ethernet/ti/cpts.h |  5 +++--
 4 files changed, 30 insertions(+), 22 deletions(-)
You have more (+) than (-).  I wouldn't call that a simplification.

Thanks,
Richard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help