Re: [PATCH v2] mtd: orion_nand: fix error code path in probe

2014-10-22 Thread Brian Norris
On Thu, Oct 16, 2014 at 06:58:35AM +0200, Michael Opdenacker wrote: > This replaces kzalloc() and ioremap() calls by devm_ functions > in the probe() routine, which automatically release the corresponding > resources when probe() fails or when the device is removed. > > This simplifies simplifies

Re: [PATCH v2] mtd: orion_nand: fix error code path in probe

2014-10-18 Thread Andrew Lunn
On Thu, Oct 16, 2014 at 06:58:35AM +0200, Michael Opdenacker wrote: > This replaces kzalloc() and ioremap() calls by devm_ functions > in the probe() routine, which automatically release the corresponding > resources when probe() fails or when the device is removed. > > This simplifies simplifies

Re: [PATCH v2] mtd: orion_nand: fix error code path in probe

2014-10-16 Thread Jingoo Han
On Thursday, October 16, 2014 1:59 PM, Michael Opdenacker wrote: > > This replaces kzalloc() and ioremap() calls by devm_ functions > in the probe() routine, which automatically release the corresponding > resources when probe() fails or when the device is removed. > > This simplifies simplifies

[PATCH v2] mtd: orion_nand: fix error code path in probe

2014-10-15 Thread Michael Opdenacker
This replaces kzalloc() and ioremap() calls by devm_ functions in the probe() routine, which automatically release the corresponding resources when probe() fails or when the device is removed. This simplifies simplifies the error management code, and brings the below improvements or changes: A. F