Re: [PATCH 5/6] regulator: max77686: Remove support for board files

From: Mark Brown
Date: Tue Nov 04 2014 - 15:48:16 EST


On Tue, Nov 04, 2014 at 09:49:45AM +0100, Krzysztof Kozlowski wrote:
> The driver is used only on Exynos based boards with DTS support.
> Simplify the driver and remove dead (unused) entries in platform_data
> structure.

This mostly isn't actually removing platform data support as far as I
can see? It's removing some spurious error checks for missing platform
data (which is good) and converting to use the core DT parsing (which is
also good) but just leaving this:

> - struct max77686_platform_data *pdata = dev_get_platdata(iodev->dev);

> - config.init_data = pdata->regulators[i].initdata;

would keep platform data support there. What problem is removing
platform data support solving?

Attachment: signature.asc
Description: Digital signature