Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp235043pxj; Thu, 3 Jun 2021 05:32:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxagaHlAzreNOCSR2DP0LUMcECIxym3OTsOvolOM6hg0/zI7ZQRPn/8z5fcRAfV9yjMPcRi X-Received: by 2002:aa7:cc98:: with SMTP id p24mr44553505edt.353.1622723538866; Thu, 03 Jun 2021 05:32:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622723538; cv=none; d=google.com; s=arc-20160816; b=pASvCh7BcbJJAEhTVtK7Q7mZZLoP9PxyXkjTobitVJIvEB4D5D16+G70gmthkciYbB fA+dF8e3N1wbJbozo0PpFtwpkR4j+frs0O/5hSGWfe4qcHh+CvsmU8qkY6O+189eb3M1 L6gycTlSBvXp4/4Gz69ZzavckY3u0dghdsnKwW31QBLqNtUFQO5rfugIY0YQ+CDb7zIS I4xM4jb3Llq3LGD2MRtD9SagIUqjej2q+uFfhi/vG9LmzxDBqDKiXdbqzxxQ0spjXidE B4rKLu1TaIRR/djP55d4Nh6jN4jHibJ4W0JkbreviPTfYMvnUxX25vxnYtcCEEFsBV1x 7M5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=qmF70cYuhiHJ2udUhHBODzgLt1+MUqiczaN7+tZ+qns=; b=W9DPv1BCWIzfVEzQByqgYqiB850elyzZSNMk7Hdcmvi0XGAnOr+mA5inE6xQYBbQnF 7hsIb2po/QLC+lwr0XX1N6MPDT22+sp46OnXSlWxGlo6WdzUmA2fGG980Mpnt8xdC0hB gHIJ7xjznpPrTfuh96F+xA9++2IMz3hbUD0j2ID1VGtRSVmJ0T1zg3qOOyATNX4GgR8q 6UiVMMWUK2LcQF9LRvHIrD2j3xtYHqYiHM/IT8oOWb+9sB6NhJKFiZ2CP4VfrLqJRt04 fjgQem8XsUgqejVE6tm+MbuYEAKEGn6/PhSZzyXqNWs7hICPVjhnVTkFr9n5O6v0kZ/c 7xrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qh24si2149829ejb.194.2021.06.03.05.31.55; Thu, 03 Jun 2021 05:32:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230116AbhFCMbv (ORCPT + 99 others); Thu, 3 Jun 2021 08:31:51 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:60874 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229976AbhFCMbv (ORCPT ); Thu, 3 Jun 2021 08:31:51 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtp (Exim 4.92 #5 (Debian)) id 1lomU3-0001xu-6z; Thu, 03 Jun 2021 20:29:59 +0800 Received: from herbert by gondobar with local (Exim 4.92) (envelope-from ) id 1lomU0-0001dK-Ua; Thu, 03 Jun 2021 20:29:57 +0800 Date: Thu, 3 Jun 2021 20:29:56 +0800 From: Herbert Xu To: Tian Tao Cc: mpm@selenic.com, linux-crypto@vger.kernel.org Subject: Re: [PATCH] hwrng: ks-sa - Use pm_runtime_resume_and_get() to replace open coding Message-ID: <20210603122956.GC6161@gondor.apana.org.au> References: <1621859318-65095-1-git-send-email-tiantao6@hisilicon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1621859318-65095-1-git-send-email-tiantao6@hisilicon.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, May 24, 2021 at 08:28:38PM +0800, Tian Tao wrote: > use pm_runtime_resume_and_get() to replace pm_runtime_get_sync and > pm_runtime_put_noidle. this change is just to simplify the code, no > actual functional changes. > > Signed-off-by: Tian Tao > --- > drivers/char/hw_random/ks-sa-rng.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt