Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3814080pxu; Mon, 30 Nov 2020 10:46:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJxwEyWNpY6ShxEF3+VmoJ5f5qrLveZN48LWjRpsI33bCNRHfNFwyDoik8222doZIE1EBC+P X-Received: by 2002:a17:906:814a:: with SMTP id z10mr6971807ejw.96.1606762017549; Mon, 30 Nov 2020 10:46:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606762017; cv=none; d=google.com; s=arc-20160816; b=MClG9tAvqC4O01NaXM5k30mlLd+OhaL8bXZgLQd6UQHGgPcsQXq9nz4uXiAYKe82CA 5QrtDzJm0VoaQT9piMul+EhwM7CzvSQUnGyx+oNtiPHqtwyg+1KD6jquJaxXoevEx7fx syV0mwIz1hwsJUUSm50ZNnCIfqoA5HQVUZX47kE0ezCmU+VDICt9+qNuZEGm1cMkmDH4 40NVq0sQFKGs33FqA2ofvfvI+G02Swv+C3NkvGlAQOg8awOUlcyGSYf/qdSpT07vSi5m fVL3OB0IXUAOwke8HCLCE67Xy8TOwkA9RzPbv4qQ9Z7P8jSkP/UDh0kq9Hq+/+55UwEe KrpA== 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=0z4kMZ/L26HA3bimUDjYY1jt90FsNiuc+VpOhte22TQ=; b=QkP1YvqA17/wkH5aI6bAOpWk9lRb47a40HUiADRQNbKuFqeyNYVbDTkG9BIn86csdh oLzYuzeImH24gwYHT9WApVI9/iqNmZu9Tf8OXN3uaiBbgr/vQpGgv655NH6+qHe58sFR tP0I/KFSkfkBFgjtAjd+dnul9eDszdaIYGdM9sPkFCRG4rZhVDeZw5Sc6lzm154BJqte s08gYCnlZpPmPx95Z6Bse4sF0TLAINDzZTIuWoQHWnJCY6yjuQcsGydduApr3IHdOvMe tggpIe0hLk4n7F4zTcQsvJxb1c3vcCJaxT72ur4BZrc6nhgJOts4eCq8pBUVz49r/5M4 PZ7Q== 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 i19si11638702ejk.743.2020.11.30.10.46.34; Mon, 30 Nov 2020 10:46:57 -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 S2388193AbgK3SnX (ORCPT + 99 others); Mon, 30 Nov 2020 13:43:23 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:40130 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727626AbgK3SnV (ORCPT ); Mon, 30 Nov 2020 13:43:21 -0500 Received: by mail-wr1-f66.google.com with SMTP id o1so3614064wrx.7; Mon, 30 Nov 2020 10:42:58 -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=0z4kMZ/L26HA3bimUDjYY1jt90FsNiuc+VpOhte22TQ=; b=NR0fCLUqP6hySFY9eXBKI69/FdYZTwtP0UXTMxKpAoXAcNZfvx5HD6xgyTvD+oaHjT tdjW2aUuvb7pq3u9UFT9UTB6Ch0Hdf5jDxUNR1kGtG2IcqBLgy6Y51TqKGFmorxD0UwK bqkjvWPLvty7/TcfCzL3OedcLAu6NLDaQ0SFHXdCt+l2beBx2fvR1cV3NUI8dE2pdDrV 2K18susVkFkvZL6SwHaKcUYB1BaCGoSruJ99enBlVBdFT/t0cDja/OII93tx+8XIeceI 5n3OCfeeNKDWcveOrIaB8gj5u54/tL4jjoET471PjPjFQZOi9Uzc0eLYO2GtwMZ44o1g Srbw== X-Gm-Message-State: AOAM5317Cqs8gWjrA+SCDA1or3Er0kqHXK9BEWUPWbQZYgfI2kz8Huk/ u4QhCl9gL0YK7Wqm+IOjGk8= X-Received: by 2002:adf:e88a:: with SMTP id d10mr31071993wrm.29.1606761752819; Mon, 30 Nov 2020 10:42:32 -0800 (PST) Received: from kozik-lap (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.googlemail.com with ESMTPSA id y7sm10350445wrp.3.2020.11.30.10.42.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 10:42:31 -0800 (PST) Date: Mon, 30 Nov 2020 20:42:30 +0200 From: Krzysztof Kozlowski To: Bongsu Jeon Cc: linux-nfc@lists.01.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Bongsu Jeon Subject: Re: [PATCH v3 net-next 3/4] nfc: s3fwrn5: extract the common phy blocks Message-ID: <20201130184230.GC28735@kozik-lap> References: <1606737829-29586-1-git-send-email-bongsu.jeon@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1606737829-29586-1-git-send-email-bongsu.jeon@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 30, 2020 at 09:03:49PM +0900, Bongsu Jeon wrote: > From: Bongsu Jeon > > Extract the common phy blocks to reuse it. > The UART module will use the common blocks. > > Signed-off-by: Bongsu Jeon > --- > Changes in v3: > - move the phy_common object to s3fwrn.ko to avoid duplication. > - include the header files to include everything which is used inside. > - wrap the lines. > > Changes in v2: > - remove the common function's definition in common header file. > - make the common phy_common.c file to define the common function. > - wrap the lines. > - change the Header guard. > - remove the unused common function. > > drivers/nfc/s3fwrn5/Makefile | 2 +- > drivers/nfc/s3fwrn5/i2c.c | 117 +++++++++++++-------------------------- > drivers/nfc/s3fwrn5/phy_common.c | 63 +++++++++++++++++++++ > drivers/nfc/s3fwrn5/phy_common.h | 36 ++++++++++++ > 4 files changed, 139 insertions(+), 79 deletions(-) > create mode 100644 drivers/nfc/s3fwrn5/phy_common.c > create mode 100644 drivers/nfc/s3fwrn5/phy_common.h I am sorry, but I am not going to review this. Please send properly a next version - v4 of entire patchset - while fixing issues pointed out in my other email (so use proper workflow). Best regards, Krzysztof