Message ID | 20240229105810.29220-8-wsa+renesas@sang-engineering.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-86598-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp322310dyb; Thu, 29 Feb 2024 03:20:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX+XnfwV8Y1kkaSewCpC0auvinWSbczrWH0eMznsRBd9S7gesybze1M4vtEUPmwaj5ZUhV56tXNOFnvJ6hA64gCL7XXoA== X-Google-Smtp-Source: AGHT+IGXpn//9Dttz16lfe9HiwjC0p/QWOy9doY/kH2m0vgtCLqkaft6uoZdHLccWb6F/3bqn/ff X-Received: by 2002:aa7:99c2:0:b0:6e4:d3b1:76c9 with SMTP id v2-20020aa799c2000000b006e4d3b176c9mr1924315pfi.31.1709205645584; Thu, 29 Feb 2024 03:20:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709205645; cv=pass; d=google.com; s=arc-20160816; b=UGnNyED728UUMX0ICTTo0c4TwIFRIwvJ3+aiSpmUuI+Q/vUV6IRrJEV+qecbUvPdDh g0+j9BUzmQOKCG19P+urESiEb+3DoU+IRhWbVEUGM89DNaIl0xxZ1PDcd1RhfXdjVmCT wG5A99kfFAxDsjPTidRS/4ib8zw9zL1B3ZJOOgJTMUA/OyyH8wdSVp4eC3DXP90XuNkb mY4AduZxZiMgRIi5Bf5XuBLsMK+dYWH9flOccOpXgmTlWFKZZ747QB5f2ko4gQG3+oKy BqdBKAu7gXlqu3CN0vgpqR5fgd3f85zjKgEMavrszIuIDqSu4nLg1SJBn1/PyITG+RwF M4pw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=zth6cqyN6gI2D0vPZW2SkkUMiLbZva005HC3qhC1wrE=; fh=VfhsHdI/Eb088J3tzGeWQ5NjURcM3nm+UYhlURhCooI=; b=Qlf6YZCkMlQ60MehKSrlYwJU3wZXuc1Zem+lFGQc3RJjG5cBDBeWQCYUtJWzZndqqw +gfQPETsQ6qkjg7xz4/YSPTTRmvkV+Eg+THQY1yKpkWLYFt16BTOryCs33H9V/cBwEUT ugsFrCAhvdud56N9KA7QUn62FskrQbc+Me0GwP2/7V5DmENLEWVux9RpRLSFR4SfdQA/ rr2ZRmP7qZlZFk++8fvG3/c9+4agewnhmpqikxBUv2M1JDzBHt6zgsq/6ZxF66UDUg3U uXDYZpwHniDjRPd5H35+CFcW/fVtHWjH7Rtt2WlNJCtstqSh9M/Xes88RotRH/st3Gs7 c2nQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=l39f0LH5; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-86598-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86598-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id fb32-20020a056a002da000b006e138abef62si1134999pfb.152.2024.02.29.03.20.45 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 03:20:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86598-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=l39f0LH5; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-86598-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86598-ouuuleilei=gmail.com@vger.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id A6A75B23210 for <ouuuleilei@gmail.com>; Thu, 29 Feb 2024 10:59:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 905517AE4A; Thu, 29 Feb 2024 10:58:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="l39f0LH5" Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) (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 1E12D7C094 for <linux-kernel@vger.kernel.org>; Thu, 29 Feb 2024 10:58:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709204332; cv=none; b=eP/xO9MuDR3Ba+rVnSnwQwGvIHMyIjQBT7PleoXRSwp3JQ6gvsvNBcSHks0cdbRBYu9GVwWl1JodMRWJ4rw/XQ4he3Pvq7oVfwD+mtb7WSK5J6hhdaYszN4h4WbfTbLFBvcjvFRI6WHGWwkwiFaSsuCCU/vvP192bgNjphHfYVg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709204332; c=relaxed/simple; bh=ZbKsOmGSKAyPdZNFs9gxN3ij9YHd3GYHGCrOYJ1IK9E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=V4N81bOh/IqimkIug/Paa/e6YqOoZE14f6+5hMoLKX0xNe4DIWJEDyfSHFgYtumXgx1es63XzLgB++QBugVYC0jTRKUZqSwApI4wH0aiRms1b5QU+wP78TzMciFL3oUbEvIeAGvqlGKp/7u6RHQUst2DHxPhD9ne/viW1z1pBJI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=l39f0LH5; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=k1; bh=zth6cqyN6gI2D0vPZW2SkkUMiLbZva005HC3qhC1wrE=; b=l39f0L H5htQ0M2kR5NZ/hcmyjWVV+a9nvQGpTeFcWkpey3Wu66p2ayE7ToyrrZWTX+mo32 jbnCfVjfySnDRzX/7kJvgDiQDUPT9vDqQ431jluGxncZKMsoRhPNEumYAd9Alt+q M3hySeSifv7S2aD/BXkFnDayhF/dGEHauB6DEmuqu/GUXH9bs7WdIuoDKTFpvR0U QmxD3sFOMeg6RHKxT0qO5MfmCmeyBug0aw0lYTC9+epbO/QXGuK6VKoFAXrYM+/A 4b+D+czZIGrXdx3tFZl9AMtjMj4fyW9DAo4KPs0JhVowjo9QxYC7TUh4TS+5GQ2O b8xPaSE1JxjCh1Dw== Received: (qmail 2278110 invoked from network); 29 Feb 2024 11:58:43 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 29 Feb 2024 11:58:43 +0100 X-UD-Smtp-Session: l3s3148p1@VO2HJIMSSD5tKPFZ From: Wolfram Sang <wsa+renesas@sang-engineering.com> To: linux-renesas-soc@vger.kernel.org Cc: Chris Packham <chris.packham@alliedtelesis.co.nz>, Rob Herring <robh+dt@kernel.org>, Wolfram Sang <wsa+renesas@sang-engineering.com>, Andi Shyti <andi.shyti@kernel.org>, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH RFT 3/3] i2c: mpc: remove outdated macro Date: Thu, 29 Feb 2024 11:58:13 +0100 Message-ID: <20240229105810.29220-8-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240229105810.29220-5-wsa+renesas@sang-engineering.com> References: <20240229105810.29220-5-wsa+renesas@sang-engineering.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792232018886940469 X-GMAIL-MSGID: 1792232018886940469 |
Series | i2c: mpc: use proper binding for transfer timeouts | |
Commit Message
Wolfram Sang
Feb. 29, 2024, 10:58 a.m. UTC
DRV_NAME was useful back in the days. But here, being used once, it is
only cruft.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
drivers/i2c/busses/i2c-mpc.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/i2c/busses/i2c-mpc.c b/drivers/i2c/busses/i2c-mpc.c index 0b4de9e569ba..8d73c0f405ed 100644 --- a/drivers/i2c/busses/i2c-mpc.c +++ b/drivers/i2c/busses/i2c-mpc.c @@ -30,8 +30,6 @@ #include <asm/mpc85xx.h> #include <sysdev/fsl_soc.h> -#define DRV_NAME "mpc-i2c" - #define MPC_I2C_CLOCK_LEGACY 0 #define MPC_I2C_CLOCK_PRESERVE (~0U) @@ -960,7 +958,7 @@ static struct platform_driver mpc_i2c_driver = { .probe = fsl_i2c_probe, .remove_new = fsl_i2c_remove, .driver = { - .name = DRV_NAME, + .name = "mpc-i2c", .of_match_table = mpc_i2c_of_match, .pm = &mpc_i2c_pm_ops, },