[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120112.152359.587415962225564570.davem@davemloft.net>
Date: Thu, 12 Jan 2012 15:23:59 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: timur@...escale.com
Cc: afleming@...escale.com, netdev@...r.kernel.org
Subject: Re: [PATCH] phylib: introduce mdiobus_alloc_size()
From: Timur Tabi <timur@...escale.com>
Date: Fri, 6 Jan 2012 13:08:33 -0600
> Introduce function mdiobus_alloc_size() as an alternative to mdiobus_alloc().
> Most callers of mdiobus_alloc() also allocate a private data structure, and
> then manually point bus->priv to this object. mdiobus_alloc_size()
> combines the two operations into one, which simplifies memory management.
>
> The original mdiobus_alloc() now just calls mdiobus_alloc_size(0).
>
> Signed-off-by: Timur Tabi <timur@...escale.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists