From: Sebastien Bourdelin Date: Thu, 19 Jun 2014 20:30:23 +0000 (-0400) Subject: MIPS: APRP: Fix an issue when device_create() fails. X-Git-Tag: omap-for-v3.17/fixes-against-rc2~135^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0435b13ee3732c1dda5312025f49073d01d8d15d;p=pandora-kernel.git MIPS: APRP: Fix an issue when device_create() fails. If a call to device_create() fails for a channel during the initialize loop, we need to clean the devices entries already created before leaving. Signed-off-by: Sebastien Bourdelin Cc: linux-mips@linux-mips.org Cc: Steven J. Hill Cc: Deng-Cheng Zhu Cc: John Crispin Cc: Qais Yousef Cc: linux-kernel@vger.kernel.org Cc: Jerome Oufella Patchwork: https://patchwork.linux-mips.org/patch/7111/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed