Markus Elfring 5d19c619ab fsl/fman: Delete one function call "put_device" in dtsec_config()
The Coccinelle semantic patch script "deref_null.cocci" pointed a problem
out in the implementation of the function "dtsec_config".

A null pointer was assigned to the data structure member "tbiphy" of the
variable "dtsec" if a matching device was not found.
A call of the function "put_device" was unnecessary then because
a previous call of the function "get_device" was not triggered.
Thus remove the function call "put_device" after the printing of the
desired error message.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-01-14 15:03:41 -05:00
..
2015-08-13 21:12:17 -07:00
2015-11-15 17:09:23 -05:00
2016-01-12 11:51:58 -05:00
2015-12-18 12:24:52 -08:00
2015-10-21 19:36:10 -07:00
2015-10-13 04:55:07 -07:00
2015-12-17 15:25:57 -05:00
2015-11-04 17:32:42 -08:00