Received: by 10.213.65.68 with SMTP id h4csp299336imn; Fri, 16 Mar 2018 03:36:34 -0700 (PDT) X-Google-Smtp-Source: AG47ELs9pp8R/OFkZeq2w2Q5UYy4RGU8MbXXzuBQLfslrEgGHD7LBJxnTsiYlY2yNFE/HYQWtaJy X-Received: by 2002:a17:902:6e0f:: with SMTP id u15-v6mr1595475plk.78.1521196594915; Fri, 16 Mar 2018 03:36:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521196594; cv=none; d=google.com; s=arc-20160816; b=JARcePxqvHy1MtpyP7tE7s0EIV6rwpKMzNd9OEa1+9KZKHakOJ0aaqoubAETWFZXYu NfAiP9UWdOd4k8Dm7hb4xoyDWj0G3nk4ldymePiGXk+jPB02RNvYhkfq5dDVq06feAFs XVGl7SqvZnUfZsdAEWOQpTvEKdtlp2aBo6tvCvgZJK2beIzVXQSzfBr9pDgEiEvJIWSK u3ANhySYFBTmEbDaFlyecGN7KbgD7omw4LHaLwyyZUumG0NVE+L8M/iqnYE3LHlZC/It zp5nIfjvabx7oZ8JxKCJdQQ5CvP4kod4uqEEdil6szRrULM6qMuw6+QnOJ0RT5texku1 ThfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=wwViauNKNiihXkYVs5ZqpU1gXUCgukyXY3n4sFCGTag=; b=P8RV02IAonfUpJGSalc8MGeq+h3bM43NOg/T8eyzlYfH86m+MpXn7gUAuXC0wCIeXP 7MyTRORfGB4ML2/qlpfyjNLO0rXbO3Jv9aVZxnoY6ycS3U3Or53h9fQMCXuJJQglgHPw zLb1Dxl+f4fmqVO2hBwI64kcFowkZjbzY014kHWpI2nc1e8TF8oH+LuegfQB81TfKTqs fU8Y79FAe/CVtUV19woEJEQWtu1h4ZVo2ILA0wtyKaxTK4lw4cAQeMGHUczfjDGQ4e5C 0vRQbVjITuMIVMDICuFIrZSl5TyD4FCX4eVCxkRg1oFlHs4n5HzgCZweJAQYYD83ienL tFYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=WwdGEry2; 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=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d8si4847053pgt.246.2018.03.16.03.36.20; Fri, 16 Mar 2018 03:36:34 -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=@ti.com header.s=ti-com-17Q1 header.b=WwdGEry2; 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=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753426AbeCPKen (ORCPT + 99 others); Fri, 16 Mar 2018 06:34:43 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:27925 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752748AbeCPKem (ORCPT ); Fri, 16 Mar 2018 06:34:42 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w2GAXfAI012390; Fri, 16 Mar 2018 05:33:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1521196421; bh=7qedEtpDDMQyO26EPA+UYXWQzphH2/VUXzVDQW1StLs=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=WwdGEry2stOWdNtnPi/QnbkRC8/bv1q3NpqYb1Q0MkWLsMWxOcGAlGy1T7lV+ukaS a5ucmUMRr4hcxgbaYOHL/6ue6e5F7LKkOAgrP5hBMOmjsD3nCZZarcK+eIPu7oecPr oHhtouU6HGcUQ+fqn8cKlilDbRXj7kz76xTwyrqA= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w2GAXfAC030491; Fri, 16 Mar 2018 05:33:41 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Fri, 16 Mar 2018 05:33:41 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Fri, 16 Mar 2018 05:33:41 -0500 Received: from [172.24.190.172] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w2GAXbnd031109; Fri, 16 Mar 2018 05:33:40 -0500 Subject: Re: [PATCH] ARM: davinci: DA8XX: simplify CFGCHIP regmap_config To: David Lechner , CC: Kevin Hilman , Bartosz Golaszewski , References: <1521137621-6491-1-git-send-email-david@lechnology.com> From: Sekhar Nori Message-ID: <9e517194-2189-4e05-388b-a0a97cb751b1@ti.com> Date: Fri, 16 Mar 2018 16:03:37 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1521137621-6491-1-git-send-email-david@lechnology.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 15 March 2018 11:43 PM, David Lechner wrote: > Since commit 8253bb3f8255 ("regmap: potentially duplicate the name > string stored in regmap"), the name field of struct regmap_config > is copied in __regmap_init(), so we no longer need to worry about > keeping our own copy of the name. > > Just use a string literal in the initialization of da8xx_cfgchip_config > instead of creating a separate variable for the name. > > Signed-off-by: David Lechner Applied to v4.17/soc of my tree. Thanks, Sekhar