From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0300C4363C for ; Fri, 2 Oct 2020 16:31:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 85CD2206A5 for ; Fri, 2 Oct 2020 16:31:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601656289; bh=TKkmg4b/Y2jur8hiXoLnkN97Jz106jXZlEsQUL0rjZw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=rORQja5zzYHHfSUp3vo8tbZXnpkpGDUyV83d8Rm9wQq/C+/0a5gmV3PX0fpUfSHtG BkJXAynfJmoegVfH/jd2cacsGkcfjEK3Et8If6BKQaZv8lWgmf/kRh3OEXzXmOIcAy w4/LymLw0REJEKIj9TWqU+7p3vp5Zu18CrSh9PyI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387919AbgJBQb3 (ORCPT ); Fri, 2 Oct 2020 12:31:29 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:39715 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387768AbgJBQb3 (ORCPT ); Fri, 2 Oct 2020 12:31:29 -0400 Received: by mail-ed1-f66.google.com with SMTP id g3so2273844edu.6; Fri, 02 Oct 2020 09:31:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Ob6yBTxTvpF+NmnLYuQkF0QwiwVMT5Xln9UbGMFpmVs=; b=nBNb3eNIVPv4tQ+oXXLQ2k6Woyx/ZRhGJDg7iOFcO036aUHj5+yr6YSChcyiDIquDl Cs23ybLz3WRgW+LMaRu0oKPyjB7VdG49AaxJgGzN6O120bc+X+Z3BKHlL7zJ6pzwBVEP QnYOxdRVkKJ5aqJrpD4wkHDhnS0FGyy8/EkTsnzV4axKFdwW0rCyYiSC3oGYDa89coS3 AUunjyWsY/3GcJfqsEH5V8XwexvV7EPJZHFDZxerun4Okf38l0Jifj/YPwVw9m+pqCam refC3SJwqulf7c50oC5AEhLwWGxpdILrtyThxV78izOd0mWyO5tdvgrlqFPb1gHPQrhi hBjQ== X-Gm-Message-State: AOAM532yH+aue5suJt0BjvmCeSVA5Zx1oIbLFJgSto4fq4oIfeDJAODx VlhPLX3caspBcUzhgXYfthVpBjp0N31/HA== X-Google-Smtp-Source: ABdhPJxj/04SdAVL8johRyiS8Accn/yYhhz15vdyCNEshtRGEwl4D9CZVuhofzWTRmFnHuib6CKwCA== X-Received: by 2002:a50:ccc6:: with SMTP id b6mr3219690edj.329.1601656287360; Fri, 02 Oct 2020 09:31:27 -0700 (PDT) Received: from kozik-lap ([194.230.155.194]) by smtp.googlemail.com with ESMTPSA id e1sm1118204edm.11.2020.10.02.09.31.26 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 02 Oct 2020 09:31:26 -0700 (PDT) Date: Fri, 2 Oct 2020 18:31:24 +0200 From: Krzysztof Kozlowski To: Guenter Roeck Cc: Wim Van Sebroeck , linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] watchdog: cadence: Simplify with dev_err_probe() Message-ID: <20201002163124.GB6464@kozik-lap> References: <20200901153141.18960-1-krzk@kernel.org> <20200901154952.GA106798@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200901154952.GA106798@roeck-us.net> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org On Tue, Sep 01, 2020 at 08:49:52AM -0700, Guenter Roeck wrote: > On Tue, Sep 01, 2020 at 05:31:39PM +0200, Krzysztof Kozlowski wrote: > > Common pattern of handling deferred probe can be simplified with > > dev_err_probe(). Less code and the error value gets printed. > > > > Signed-off-by: Krzysztof Kozlowski > > Reviewed-by: Guenter Roeck Thanks for the review. Who could pick up these patches? Best regards, Krzysztof