[PATCH 01/16] iio: accel: bma180: Simplify with dev_err_probe()

Krzysztof Kozlowski krzk at kernel.org
Thu Aug 27 07:28:59 EDT 2020


On Thu, Aug 27, 2020 at 12:26:05PM +0100, Jonathan Cameron wrote:
> On Wed, 26 Aug 2020 16:51:38 +0200
> Krzysztof Kozlowski <krzk at kernel.org> wrote:
> 
> > Common pattern of handling deferred probe can be simplified with
> > dev_err_probe().  Less code and also it prints the error value.
> > 
> > Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org>
> 
> Please make sure to send v2 to linux-iio at vger.kernel.org

Sure, my bad.

Best regards,
Krzysztof



More information about the linux-amlogic mailing list