[RFT net-next v4 2/5] net: stmmac: dwmac-meson8b: simplify generating the clock names

Jerome Brunet jbrunet at baylibre.com
Mon Jan 15 04:36:10 PST 2018


On Mon, 2018-01-15 at 13:02 +0100, Martin Blumenstingl wrote:
> > Here you'd allocate memory for each string which will remain until the driver
> > unload. It's not much, but still, it is wasted memory.
> 
> good catch, thank you!
> maybe I should drop this patch for now and clean up the clock
> registration in another series - I can try to get rid of the
> "unneeded" members in struct meson8b_dwmac in a new patch. what do you
> think?

I think it would be wise, yes.

Cheers
Jerome



More information about the linux-amlogic mailing list