On 07/06/13 09:51, Archit Taneja wrote:
>> -static int dpi_init_display(struct omap_dss_device *dssdev)
>> -{
>> - struct platform_device *dsidev;
>> -
>> - DSSDBG("init_display\n");
>> -
>> - if (dss_has_feature(FEAT_DPI_USES_VDDS_DSI) &&
>> - dpi.vdds_dsi_reg == NULL) {
>> - struct regulator *vdds_dsi;
>> -
>> - vdds_dsi = dss_get_vdds_dsi();
>> - if (IS_ERR(vdds_dsi)) {
>> - vdds_dsi = regulator_get(&dpi.pdev->dev, "vdds_dsi");
>
> same comment about devm_ usage here, and the next few patches.Yes, good point. And that allows us to get rid of the 'vdds_dsi_from_core'. Tomi
signature.asc
Description: OpenPGP digital signature
