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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15279EB64D7 for ; Wed, 21 Jun 2023 09:38:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231490AbjFUJio (ORCPT ); Wed, 21 Jun 2023 05:38:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231955AbjFUJiY (ORCPT ); Wed, 21 Jun 2023 05:38:24 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F6AF296D for ; Wed, 21 Jun 2023 02:36:37 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-51878f8e541so6755819a12.3 for ; Wed, 21 Jun 2023 02:36:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1687340184; x=1689932184; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=j6elu26YtJfohzcS72Xjup0fvXIh+C0cjlp4750l45E=; b=0jJIXDRE/dKzNejhP+OjYi3MzC5xg50Bl+mytGFvV2hHFM9edrgynGWJX9XgPFrye2 ir2Up9TlMiZYfpRmkFVvyf3lgGenvMkpRAcTIDTHUXCFtAl6KFjQwPrS8Jv13m68e+4s SgOv1A0sRPqc8qe/stnqTEn786oINj0AXqPnf941/AH2ReV/T6yCgVbuRAj/0snLjDWF Lyd2+J/TbbTVgSl60noS6q7ZuI7U7pSYv/biLUIJWj2mxjmAxkQ24B8BQeJRwQEfB6Ce zgB5JwmCEVOb74jk6nhkgKkuymsCxfr9a/3jMc2Kb7ugeFDiOL9y2Zt2hSIdE+R8r+oE W30g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687340184; x=1689932184; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=j6elu26YtJfohzcS72Xjup0fvXIh+C0cjlp4750l45E=; b=V0RDuqZg+5aUe4xFtfeIH6ZKzD18x+yDpowHgB4MbkG/NL+IYIuPcib1BlRP+6wXgA osMFnqo/bYUUu35Q/J9z+0RiMLVCLUDFY0cfKvZNs7Pg7ZS8plcNhBul2vZtScFjjfF2 61EBaIGnalTNJZBUIhENuGzIOGAeQ/55/qnCPgCo9XRDf+cJKVKGUae/m+scO+f5uL4Z v/OvymEBuIjxLyACllK+AHuNbrLSI8WHJseu7aJaE29qvkDC3lblfWIEz2NktuJqMovM LRTKIuIUtoBlVolzcyGKmBsy4hqN9eHpThtyjPpX4dJxPXa5mBWjNluz45kdfimep6pa BQJQ== X-Gm-Message-State: AC+VfDxhzwQQndRwccJ+zbCpX5s7Deax4LyMmhzxK6EEp9OGfcngf8Ti kNUvDZhaVucTpUo8VBaRtd6ielZd+qxgGehyrXc= X-Google-Smtp-Source: ACHHUZ5/2qNwBEnLurkUDa66kVeGNaGFVf728nFX+LisHTCTh8RsynfWNIKoix7OvUyk36H+bVvTAA== X-Received: by 2002:a05:6402:692:b0:51a:3334:f87f with SMTP id f18-20020a056402069200b0051a3334f87fmr9232463edy.37.1687340184246; Wed, 21 Jun 2023 02:36:24 -0700 (PDT) Received: from [192.168.1.172] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.gmail.com with ESMTPSA id w17-20020a50fa91000000b00514b3dd8638sm2335019edr.67.2023.06.21.02.36.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Jun 2023 02:36:23 -0700 (PDT) Message-ID: Date: Wed, 21 Jun 2023 11:36:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 3/3] drm/mediatek: Use devm variant for pm_runtime_enable() when possible Content-Language: en-US To: AngeloGioacchino Del Regno , chunkuang.hu@kernel.org Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, matthias.bgg@gmail.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@collabora.com References: <20230608101209.126499-1-angelogioacchino.delregno@collabora.com> <20230608101209.126499-4-angelogioacchino.delregno@collabora.com> From: Alexandre Mergnat In-Reply-To: <20230608101209.126499-4-angelogioacchino.delregno@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/06/2023 12:12, AngeloGioacchino Del Regno wrote: > Simplify the error path of return functions and drop the call to > pm_runtime_disable() in remove functions by switching to > devm_pm_runtime_enable() where possible. Reviewed-by: Alexandre Mergnat -- Regards, Alexandre