Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp1492643rdb; Sat, 23 Dec 2023 08:40:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IFXAbpQ3X1fYAWurg7V+3jqw/rwhOOrvTh/9D2YOHuxjP1kycXc1d16E8Rqr6E+9ME2nn8h X-Received: by 2002:a17:906:88b:b0:a23:59ea:1065 with SMTP id n11-20020a170906088b00b00a2359ea1065mr1671019eje.55.1703349632514; Sat, 23 Dec 2023 08:40:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703349632; cv=none; d=google.com; s=arc-20160816; b=px7ftZ4PfbAUXrF/G4RJybWeU1+4rWi8+tKQr38DixjZjjcu2dsRIHTNJXl9zfDVyp ge+PAxmbB8R60TcrA847TzXyoY/4DB58fzXLFeC/Dwyyzja64mHKAlzKxocXjKDFFf6N hNSvMoYpb2fyCo0Td/qws9R/kKkIXS1KI371lpw/FG/NhAZ+754l8PYRoJJsjdShuf4k fLQrFGDSYp9g2VTIp20arGvvbYgTwSn14mZk7kEECGAh29CVYvS+gWfoJq4wJu3a2lHY Z7f6yfUpVyMcy0fN8hfO49phMGTxnsmxDz3Op65FkZJPil/i6ZcaZ6s0L/kGMZJtgyds xblQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=y8i+mBCPO6mErV3FWVz5lfvWtYVp9dCcmcFRtoTDMjQ=; fh=dPlVqmyyn9Vm9vEALYVrZAGdDhu4hDI1VMC4EMEzD1w=; b=Q6I3j8hK/nzXqdKxW2x4YvbwWm2wLiq3uWr2/DV4Lds6qzy6cKjyRw322pP+7MCN5m OhsjzvYKdZEGlFStSOa0O1BM8Tb+wI1R/3KGhYboY04EN/6VECyFVWCaRgkjrnKV0Y5m FhHDkl4jip9bwy08dhlCQN/h+ELM4cO46mdR9myuhdelGM5JjmQvlNg/EopsocoyVKwA 2JGHSECocA2WGskIa1unBYXdL1Lf2wLctHoWxE3T8gqjmFxdDttwbnqJoFFpZU4lI9+B JkO97E0hZFurX1G7AK4RYuGee3kgYppmsAhV+WDfTkU3KShU5jkJqTI/9e8S3Kn6U2/X 4b0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gPporjS7; spf=pass (google.com: domain of linux-kernel+bounces-10500-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10500-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a26-20020a170906245a00b00a237190b484si2895342ejb.573.2023.12.23.08.40.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 08:40:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10500-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gPporjS7; spf=pass (google.com: domain of linux-kernel+bounces-10500-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10500-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 46B821F220ED for ; Sat, 23 Dec 2023 16:40:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB06010961; Sat, 23 Dec 2023 16:40:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gPporjS7" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 19BECDDB7; Sat, 23 Dec 2023 16:40:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F5E3C433C7; Sat, 23 Dec 2023 16:40:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703349620; bh=KS7YCRC4NCwBZglO7G2FfSSppkyOZ7I1bvshGs9NiHQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gPporjS70QdVLlK5aMkwdcl64sVbOZvy/LJuNu0U9C2L0rmebH4y2Hqc43lxWrW/Z 2l2ZTiX/XoGF/uoVsKujQvl9P/begrmyFiO2sUShM8IjjfGjqXNkr/6xxNKg6s2DZG 4bHYPhhM1ZQTBNA5QpCJWY2ZBy74mwu7PUhxyoLE8kQMggVsKQOiym/lClE61O9f28 dhUmSIhuHefYwa2cY5fh5QDZFCBvZ73hkl+M7HlK5T7myjSAkI2oWxYq5f3/DTprp2 r7rMMNlcMxQ/+nRURIJo5BrNcLaHp0ZahUMc17IziZufbG75t3QRy4lIpXq+puJvNO E9EAEHf7VyQOw== Date: Sat, 23 Dec 2023 16:40:16 +0000 From: Simon Horman To: Andy Shevchenko Cc: Vadim Fedorenko , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Lemon , Vadim Fedorenko , Richard Cochran Subject: Re: [PATCH net-next v1 1/1] ptp: ocp: Use DEFINE_RES_*() in place Message-ID: <20231223164016.GH201037@kernel.org> References: <20231221140607.2760115-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231221140607.2760115-1-andriy.shevchenko@linux.intel.com> On Thu, Dec 21, 2023 at 04:06:07PM +0200, Andy Shevchenko wrote: > There is no need to have an intermediate functions as DEFINE_RES_*() > macros are represented by compound literals. Just use them in place. > > Signed-off-by: Andy Shevchenko Thanks Andy, this is a nice cleanup. Reviewed-by: Simon Horman