Sebastien Bourdelin 0435b13ee3 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 <sebastien.bourdelin@savoirfairelinux.com>
Cc: linux-mips@linux-mips.org
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: Deng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Cc: John Crispin <blogic@openwrt.org>
Cc: Qais Yousef <Qais.Yousef@imgtec.com>
Cc: linux-kernel@vger.kernel.org
Cc: Jerome Oufella <jerome.oufella@savoirfairelinux.com>
Patchwork: https://patchwork.linux-mips.org/patch/7111/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2014-08-01 17:30:35 +02:00
..
2014-06-26 11:59:01 +05:30
2014-07-13 12:10:18 -07:00
2014-07-08 17:30:59 +01:00
2014-06-12 20:08:47 -07:00
2014-06-04 10:02:38 -07:00
2014-05-01 10:09:47 -07:00
2014-04-18 14:20:36 +02:00
2014-06-04 10:02:38 -07:00
2014-04-18 14:20:43 +02:00
2014-03-18 16:39:33 -04:00