Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp5152554pxb; Mon, 15 Feb 2021 10:54:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJwILluzJ2eKYenpmv0jyFv/QmgoZxl7pcNDd1iB3eXa9Wm1QgsvHplq0ffYHyJGc0HQ7ZU6 X-Received: by 2002:a17:906:d214:: with SMTP id w20mr17270904ejz.284.1613415248137; Mon, 15 Feb 2021 10:54:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613415248; cv=none; d=google.com; s=arc-20160816; b=bL4Isw1t1kgePeRJeTkkr0KD3Qx2Y4ZJ1rysKkoFPjQ/jVUJLHudMSKzdRqLsOSZff TJe1VCY8367UWIYSuH799M4kGXJsu2fbMU/GejuEp35qeLBFZ7lF5F6cS4ovjktFHwvH gBR4oe0t9fcsQWa6hOJOYQBtO+pZy9Skhg8RUWdZoy4fOVFxFdh/gcGzuahVyVE6tREE sCWuKln0nFGY6ygjelxN6PUfG7fWrpZSx5EyQ9ETBBy4C/9qTOuaADOwcXDruzf30jol 4QxEYRSl87kj2rXpIdVFYPEgu7PzpJVvMH1Xu6SuYe5ReuV+ehjvCDT/HU5nmGVZWsJM dpTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=7VLbDmBh1F/YGMxpE9NHm5x49D+lAFFocqDiTimIiEw=; b=guyXWGa/pmRvnDdoyw5aDNeMqXoj1f00muMeeH5it2PlhGm/rUrKKd8Fulja2lA3cc Pv7FHeUsccChUq/pAqpDq12H8HYBV4aNbyH/Jle39POiO+RYhw38cCuZJrAUko0wfQ9a mzrWrTcgjvFCbWbX6lpE5750N+xyjy6+PXBvTU8NXJvfx2M1+WYtCqR1CjMEFnQhbLGA KyPJLur5Ba9eUe98pdmtOgMn82/jcr3lEsjkxaz4w3D2t7XCYSB71NAblUpwyoICSuvI xZI4Ou6uUMaS5Vt2t6LLR7lo/en0/InbzIeYwBd5e/4CTfPq6UAxmyz8JWU17TYosY5D H/4w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q10si12842230edd.316.2021.02.15.10.53.45; Mon, 15 Feb 2021 10:54:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230502AbhBOSwa (ORCPT + 99 others); Mon, 15 Feb 2021 13:52:30 -0500 Received: from mail-wm1-f53.google.com ([209.85.128.53]:35476 "EHLO mail-wm1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229802AbhBOSwU (ORCPT ); Mon, 15 Feb 2021 13:52:20 -0500 Received: by mail-wm1-f53.google.com with SMTP id n10so10278765wmq.0; Mon, 15 Feb 2021 10:52:03 -0800 (PST) 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; bh=7VLbDmBh1F/YGMxpE9NHm5x49D+lAFFocqDiTimIiEw=; b=oE2iut3+wtIKCrDrOD6tZhY1FqG8eXjwYwiyFnXhhiiLHiwqNK1+SrftaH9bqWuQtD I+5nx3c91AXh37ajlZ66T77VcEXReqo5nyQXksxDxdBPwwO0if2vdCgExJiZzZHoGbJb PeNxlZ9nhxCmM+/qFWKQlZOB56HawTTDTJnECkzUcUcNt9f88HqzbCWW946dzOyEEoDV oBUM2Lpw65LRYJqh+03UyqpL/uPMc8KwwGJfQbAPkE7fYUgWooWYeuwVfmsrD/UT6nYB nXIyIFNVBWu+sr9e0UGwW/j5oySviNXSTwM25jKSM3NK6D7QT9Xw7Nr7ac+zV/Fuhz+0 bzrw== X-Gm-Message-State: AOAM532NpRXCo7y8dvwPmSVvRxHsSAbjK1aqDzPYgbhhNuUYm8FZy6h1 hJXbVpVrW39KC1NrHOiOC/4= X-Received: by 2002:a05:600c:28d3:: with SMTP id h19mr191379wmd.147.1613415098130; Mon, 15 Feb 2021 10:51:38 -0800 (PST) Received: from kozik-lap (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.googlemail.com with ESMTPSA id t6sm15658631wrn.96.2021.02.15.10.51.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Feb 2021 10:51:36 -0800 (PST) Date: Mon, 15 Feb 2021 19:51:35 +0100 From: Krzysztof Kozlowski To: Hector Martin Cc: linux-arm-kernel@lists.infradead.org, Marc Zyngier , Rob Herring , Arnd Bergmann , Olof Johansson , Mark Kettenis , Tony Lindgren , Mohamed Mediouni , Stan Skowronek , Alexander Graf , Will Deacon , Linus Walleij , Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 20/25] tty: serial: samsung_tty: Use devm_ioremap_resource Message-ID: <20210215185135.onivzktfscv5myh2@kozik-lap> References: <20210215121713.57687-1-marcan@marcan.st> <20210215121713.57687-21-marcan@marcan.st> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210215121713.57687-21-marcan@marcan.st> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 15, 2021 at 09:17:08PM +0900, Hector Martin wrote: > This picks up the non-posted I/O mode needed for Apple platforms to > work properly. > > This removes the request/release functions, which are no longer > necessary, since devm_ioremap_resource takes care of that already. Most > other drivers already do it this way, anyway. > > Also fix a bug checking the return value, which should use IS_ERR(). No, no, no. We never, never combine fixing bugs with some rework. However devm_ioremap() returns NULL so where is the error? Did you test your patches on existing platforms? If not, please mark all of them as RFT on next submission, so Greg does not pick them too fast. Best regards, Krzysztof