Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp685575ybe; Wed, 4 Sep 2019 06:18:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtg4gJm4DUl0tctOt3lXAQaiZ70QQ05M3Koh1Gwo5KiZXIGZPV/+h3bP2J6qKgDocqOJEU X-Received: by 2002:a63:6fcf:: with SMTP id k198mr34934661pgc.276.1567603136704; Wed, 04 Sep 2019 06:18:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567603136; cv=none; d=google.com; s=arc-20160816; b=V/YVV/qhVpY5vnEr0jPme2Z8MIuJMehHQhxihfGm7YDwQfJoCZLK21VZyxIm02CO/j RahnW+ztnxPdQhTAqixd5iFTKSHL+mTzzajiSXvPQ/YEFEf3GBBD9lBpkEC50+Rke6Gh RnCIhTu8KISl4WQieAF3O3AbevOMzYYoWrPz5/H4JkFlxmOEbxHUvAAPJ2oKCMARA92K CFhHXlGenndbNUv8Kmhhca72uNFJi+pPNh0keLHPM8N2P1B28mw2W44Crbh5XHzINzBZ tIuNeWFHjdXVVsLFyFdER+ih+YoZnIVsExliDKlA/tmSU4akZ1bkbGi8ijWE/WgtwDkD dUAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=dVPgUqN88hiyFCDUl2n0H4GWl7kQ/LvDY+M8i0q+25Y=; b=yxqZbbNDiaOrBPGGaMqin5xO65AGsvRiJTCk1D5lPWy3+yyRo+Iio79k7FzhE90l0x cOovxx+rVt71IqLfGImdpXEIpCDaoIBMAKFDfZov79AK+MmnXFqsu1twLkcXZsG9HIBE QVzHNrzkQ5IPqAA02zG0AZI2Nagcwbm4OZjLaW2kwum5PDSLx0SHo1U7R83qDsQb6vzq uGemeDwIqmJsf9T8nt44C8oxd7oZiGvBOMw9heR12MIQ8Q2RrKKRwJ1oIp7wlN6ij4dr 6ZSyRZlHCjd35O0diIIePh4ZX6EdpzM9WjjjbMvS5/U2AMXCYCZ/C3sAGwRAt/L19CtU LC0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=VZ3WoOwZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r23si16730345pfc.286.2019.09.04.06.18.40; Wed, 04 Sep 2019 06:18:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=VZ3WoOwZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730281AbfIDNQS (ORCPT + 99 others); Wed, 4 Sep 2019 09:16:18 -0400 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:43951 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726495AbfIDNQS (ORCPT ); Wed, 4 Sep 2019 09:16:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1567602978; x=1599138978; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=dVPgUqN88hiyFCDUl2n0H4GWl7kQ/LvDY+M8i0q+25Y=; b=VZ3WoOwZpRNbBzyask86p+s4bzhM8s3rmsabMlkwyJH3M21cXVQCp8uw wTHlnw8VLhZerNNEdVY59ltyzNsefsAk0t6RL2XdWQBV4jcjYOxAWB1x5 rLSrxKCRKFhsCPtzFe4rAzF2EfZr+EJ8mF79yr+8z7QKIPk+FoNiHNa48 Y=; X-IronPort-AV: E=Sophos;i="5.64,467,1559520000"; d="scan'208";a="700658012" Received: from sea3-co-svc-lb6-vlan3.sea.amazon.com (HELO email-inbound-relay-2c-397e131e.us-west-2.amazon.com) ([10.47.22.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP; 04 Sep 2019 13:16:13 +0000 Received: from EX13MTAUEA001.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan3.pdx.amazon.com [10.170.41.166]) by email-inbound-relay-2c-397e131e.us-west-2.amazon.com (Postfix) with ESMTPS id 3E81BA215A; Wed, 4 Sep 2019 13:16:11 +0000 (UTC) Received: from EX13D01EUB001.ant.amazon.com (10.43.166.194) by EX13MTAUEA001.ant.amazon.com (10.43.61.243) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 4 Sep 2019 13:16:10 +0000 Received: from [10.88.66.45] (10.43.160.149) by EX13D01EUB001.ant.amazon.com (10.43.166.194) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 4 Sep 2019 13:15:54 +0000 Subject: Re: [PATCH -next 13/15] thermal: thermal_mmio: use devm_platform_ioremap_resource() to simplify code To: YueHaibing , , , , , , , , , , , , , , , , , , , , , , , , , , , , CC: , , , , , , , , , References: <20190904122939.23780-1-yuehaibing@huawei.com> <20190904122939.23780-14-yuehaibing@huawei.com> From: Talel Shenhar Message-ID: <228fdf20-9f3a-4809-6fed-448e2bb349d3@amazon.com> Date: Wed, 4 Sep 2019 16:15:48 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190904122939.23780-14-yuehaibing@huawei.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.43.160.149] X-ClientProxiedBy: EX13D08UWC003.ant.amazon.com (10.43.162.21) To EX13D01EUB001.ant.amazon.com (10.43.166.194) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks. Talel. On 9/4/19 2:29 PM, YueHaibing wrote: > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Reviewed-By: Talel Shenhar > --- > drivers/thermal/thermal_mmio.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-)