can: peak_pci: Fix the way channels are linked together
authorStephane Grosjean <s.grosjean@peak-system.com>
Wed, 1 Feb 2012 10:05:48 +0000 (11:05 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 2 Feb 2012 23:26:27 +0000 (00:26 +0100)
Change the way channels objects are linked together by peak_pci_probe()
avoiding any kernel oops when driver is removed. Side effect is that
the list is now browsed from last to first channel.

Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

No differences found