Re: [PATCH] mux: core: fix error handling in devm_mux_chip_alloc

2017-03-15 Thread Peter Rosin
On 2017-03-14 19:16, Dan Carpenter wrote: > Looks good! Thanks, now pushed out to the for-next branch of https://gitlab.com/peda-linux/mux.git Cheers, peda

Re: [PATCH] mux: core: fix error handling in devm_mux_chip_alloc

2017-03-15 Thread Peter Rosin
On 2017-03-14 19:16, Dan Carpenter wrote: > Looks good! Thanks, now pushed out to the for-next branch of https://gitlab.com/peda-linux/mux.git Cheers, peda

Re: [PATCH] mux: core: fix error handling in devm_mux_chip_alloc

2017-03-14 Thread Dan Carpenter
Looks good! regards, dan carpenter

Re: [PATCH] mux: core: fix error handling in devm_mux_chip_alloc

2017-03-14 Thread Dan Carpenter
Looks good! regards, dan carpenter

[PATCH] mux: core: fix error handling in devm_mux_chip_alloc

2017-03-14 Thread Peter Rosin
The error handling is mixed up. mux_chip_alloc() doesn't return an error pointer (just NULL on failure), so check for NULL instead of using IS_ERR. devm_mux_chip_alloc is documented to return NULL on failure, so fix that as well. All users of devm_mux_chip_alloc() are coded according to

[PATCH] mux: core: fix error handling in devm_mux_chip_alloc

2017-03-14 Thread Peter Rosin
The error handling is mixed up. mux_chip_alloc() doesn't return an error pointer (just NULL on failure), so check for NULL instead of using IS_ERR. devm_mux_chip_alloc is documented to return NULL on failure, so fix that as well. All users of devm_mux_chip_alloc() are coded according to