commit | 878e3c1be2dc8a759c18bb280a7390f9ed0bd544 | [log] [tgz] |
---|---|---|
author | Igal Liberman <igal.liberman@freescale.com> | Sun Feb 28 23:59:53 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 03 15:21:23 2016 -0500 |
tree | 438336bafa7fcd6fe63aac6274e61471b5a3ec94 | |
parent | 88f8b1bb41c6208f81b6a480244533ded7b59493 [diff] |
fsl/fman: Initialize fman->dev earlier Currently, in a case of error, dev_err is using fman->dev before its initialization and "(NULL device *)" is printed. This patch fixes this issue. Signed-off-by: Igal Liberman <igal.liberman@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>