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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 13CB8C18E5B for ; Tue, 10 Mar 2020 13:36:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E026424649 for ; Tue, 10 Mar 2020 13:36:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727347AbgCJMm1 convert rfc822-to-8bit (ORCPT ); Tue, 10 Mar 2020 08:42:27 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:34347 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727333AbgCJMm1 (ORCPT ); Tue, 10 Mar 2020 08:42:27 -0400 Received: by mail-ot1-f68.google.com with SMTP id j16so12977268otl.1; Tue, 10 Mar 2020 05:42:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=kfycomguv06VQCU+xSRo5ljDeRZeGd7uM5suR8zPJT8=; b=i+XxgS/PlrmkKuZBAndzdnu7WjguRudMZfGm7Oe9aDDtzVxqYfLnteMGWSntXov7ac heVds7mpSsh/IowBN6B3KdVQLHmw+uJ1RWaKwW4gtnK0KYUDcy3h/3ZEIWKscbmsom6D YIIPGuEs1jnoaMqLzhi3nfDT28mqjH2ATAVe1BY7S4dkoG/K2ur4SNkPsSV8jIcbAlfC nf97DYbgR4MGB2N/zdcBltPILRKilKs60j3CvKfJTgt/f5UEXEAYUg+8NyIw9mzT/fHv EbmZjdud/Rh0f684hUZ+k20aBiVhv9fP+DkR8WJn1dtCpG7+MKEchST/ss/xUVTRvPDf 8HJA== X-Gm-Message-State: ANhLgQ2c8jzTcAcg6fP2hp0ZjgWO+qjkmNcnHVnwDTfNeCYRLRmd/ReG aLinOzeTTgeLuzgdrBowNdYGLOKJs/HiHzggrUPCQQ== X-Google-Smtp-Source: ADFU+vvnhcQldBJ6bvtbZYYKQIcMnPQ0S+l+Ks1r53JQMhSecZyEzzMbVF/D0uzBc67W/q6oUZpf/0athU/jbcs6Who= X-Received: by 2002:a9d:4d02:: with SMTP id n2mr7133754otf.107.1583844146329; Tue, 10 Mar 2020 05:42:26 -0700 (PDT) MIME-Version: 1.0 References: <20200310114709.1483860-1-niklas.soderlund+renesas@ragnatech.se> In-Reply-To: <20200310114709.1483860-1-niklas.soderlund+renesas@ragnatech.se> From: Geert Uytterhoeven Date: Tue, 10 Mar 2020 13:42:15 +0100 Message-ID: Subject: Re: [PATCH] thermal: rcar_thermal: Handle probe error gracefully To: =?UTF-8?Q?Niklas_S=C3=B6derlund?= Cc: Linux PM list , Linux-Renesas Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org On Tue, Mar 10, 2020 at 12:47 PM Niklas Söderlund wrote: > If the common register memory resource is not available the driver needs > to fail gracefully to disable PM. Instead of returning the error > directly store it in ret and use the already existing error path. > > Signed-off-by: Niklas Söderlund Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds