Re: [PATCH 2/5] regulator: fan53555: set regulator name from constraints name

From: Mark Brown
Date: Mon Sep 15 2014 - 13:02:36 EST


On Sun, Sep 14, 2014 at 09:23:02PM +0200, Heiko Stuebner wrote:
> There is a high potential of more than one of those regulators existing
> on a board, so name the regulator according to the name provided in the
> initdata instead of statically.

No, this is pointless and broken. The core will already use the
board-specific name to identify the regulator in diagnostics and so on,
the name being supplied here is supposed to describe the regulator
within the device.

Attachment: signature.asc
Description: Digital signature