Re: [PATCH RESEND] regulator: tps6507x - add missingplatform_set_drvdata in tps6507x_pmic_probe

From: Mark Brown
Date: Tue Aug 10 2010 - 10:46:18 EST


On Mon, Aug 09, 2010 at 03:51:23PM +0800, Axel Lin wrote:
> We should call platform_set_drvdata() before calling platform_get_drvdata().
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>

Acked-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/