Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2556048rdb; Wed, 4 Oct 2023 05:07:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHCuG7KTu/7vkC87QWPzRn0rtHyVNwgOVbIyrPuyJOCtMpZa81dgKuWOJtXQlbW5c1MWYLq X-Received: by 2002:a17:90b:1d11:b0:276:7806:9aee with SMTP id on17-20020a17090b1d1100b0027678069aeemr1980538pjb.26.1696421272603; Wed, 04 Oct 2023 05:07:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696421272; cv=none; d=google.com; s=arc-20160816; b=I3uxEdW/lz3kv2IHtWJ1Teq8q/RfLz9UNbm/LB+tEHw+bPqTfO2hY0MQqyCW5L8pTV HPW6FoRwd77ZGtprvSvwF/GHTLv6bfciyhoCBL2gxQ8s2vnLYTyiNHpqyxgeyiDXU+tv knfevF/5vh9g2JLpRKqjnNlMXOt6JBrtFuTHThZ3WGwmPa5d2c0gvNECVkiTIUS2M5Hj cGXd4YwSJTJvapRhxSX+wH/Z9HuqwsBSBUy15IacAvMsB6S+dCm59SIUDTsJEbxPxKFP x0dUFq9w9p4B3Kd8oh0xTrNVq8uNsfk6tdGAQWJ/nFM7UtJomWjBCZoqaFD9CeDIm+7z ZJzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5WWYoB5MEV9gKIjnnbA4n0zDf7a0EYBT3iB0u8uEjVw=; fh=qVquYlTqO9HQXxwSGkePR/wui5l7gBgVJiCPoNJQ2Ns=; b=0djm7btKUfYCS5IlH2wk5xsamQmf6MbxCjdX1pJYLoP5LTfUGcin8rbB89R4bFfUN8 hBI555fAEXiGsjPtgiRBoKSvzSasCaCsfNuIntzlNmVxTRpnNhid+HBgYTNtLw61sDXZ OJK3bwJPGg3ePt+fCfLTehBfcmRrX/uSJdliQmfumLWnvedgbIptBtPBWDQix7Hdd9d9 sDMHUsdIcTW8LTtkwgj8GiJYSU1sEjbEKaILslr11m/1TocwW16QjRbS4KN77jEd2Im6 Zybl9lI/9vXyP5WkdW+YyGLNLRD2BMddcC6GBXsZkWE+zL1Z5VT/CmfftCi8Tk8iP3aP m6ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=LfoR86Nt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id v23-20020a17090a899700b002745c4e215fsi1314520pjn.175.2023.10.04.05.07.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 05:07:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=LfoR86Nt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 40A7B8341004; Wed, 4 Oct 2023 05:07:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242303AbjJDMHq (ORCPT + 99 others); Wed, 4 Oct 2023 08:07:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242280AbjJDMHk (ORCPT ); Wed, 4 Oct 2023 08:07:40 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE638D7 for ; Wed, 4 Oct 2023 05:07:37 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-32487efc319so2032736f8f.1 for ; Wed, 04 Oct 2023 05:07:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1696421256; x=1697026056; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5WWYoB5MEV9gKIjnnbA4n0zDf7a0EYBT3iB0u8uEjVw=; b=LfoR86NtzfXiaxpbXUXzrsSvUW6e/C3kGBgO9kdW7ZBxR0q9T2PHUXiT3KnrjDJxWQ ukKhOSKnKnVQOc9oZC8LXLk1kWOa+HTwqDUpjDngwG6F6QctzkXbq3zAR14nQvOOtzVw F7nQ1MWSADmRfXBAVkeTdTqjOea3qRnGg7yFvWseTFGLcXGXhUOIiAB1wJk2Gf0SZcuM 8mMU5cd3WA3RXHGJkqvCc56z+MsEAwHXsCjn3DMPwJfhL18rZz5zg3gxgKq2H9LCVSzg hGmO6ba1N4uvHujVozsjeEOSu8QLV24fb53cyJelPDMDeCfyPGs+pcZBjMF1rOoF2Ky+ OOyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696421256; x=1697026056; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5WWYoB5MEV9gKIjnnbA4n0zDf7a0EYBT3iB0u8uEjVw=; b=XQt9KpWgSVcl+GeUp+seDx+P0+geXCE/U+l03jofn9DlUxGM9mLjpjZy4DIj29WSUf RH9FiX2J+5jNr+bXZYshtpoeHo4mm47+EgFVZ4j1RfKhlePeEn5OXLKeYdYMirjY6sJ7 mtKtJNEafuL/o75B6/L+QAqZcWodDzinHkmMtCDrnIi6tfEjWXE4ycHcNF49aDXK+o5W XYxEzjK1mARYKzKbuW1FyXoK+Hu89B5n5QlRbTjLuGUaKVf8PiyOxMcr1InW88u9GT3I 3leEhoFgRMveEmSo46Hj2sZtVFgRMxG40AnvmIEsCej4R6Bg7zEIEEc6X11pg+a9M9pc xQJw== X-Gm-Message-State: AOJu0YwJYYSOdOk5P4HmI7qxg3kFZcHnvwh3qrf9/rWFSJcKODkhIn+0 eYHSZ31m9cGUayUFbFtg7f6kXQ== X-Received: by 2002:adf:fec4:0:b0:320:459:5a3 with SMTP id q4-20020adffec4000000b00320045905a3mr1672239wrs.33.1696421256204; Wed, 04 Oct 2023 05:07:36 -0700 (PDT) Received: from stroh80.sec.9e.network (ip-078-094-000-051.um19.pools.vodafone-ip.de. [78.94.0.51]) by smtp.gmail.com with ESMTPSA id e6-20020aa7d7c6000000b005362bcc089csm2324665eds.67.2023.10.04.05.07.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 05:07:35 -0700 (PDT) From: Naresh Solanki To: broonie@kernel.org, zev@bewilderbeest.net, Liam Girdwood Cc: Naresh Solanki , linux-kernel@vger.kernel.org Subject: [PATCH 3/3] regulator: userspace-consumer: Update name Date: Wed, 4 Oct 2023 14:05:28 +0200 Message-ID: <20231004120529.1155700-3-naresh.solanki@9elements.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231004120529.1155700-1-naresh.solanki@9elements.com> References: <20231004120529.1155700-1-naresh.solanki@9elements.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 04 Oct 2023 05:07:51 -0700 (PDT) Set name to dt node name. Signed-off-by: Naresh Solanki --- drivers/regulator/userspace-consumer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/userspace-consumer.c b/drivers/regulator/userspace-consumer.c index 13c0a86ab32c..9030e1d9ce3c 100644 --- a/drivers/regulator/userspace-consumer.c +++ b/drivers/regulator/userspace-consumer.c @@ -159,6 +159,7 @@ static int regulator_userspace_consumer_probe(struct platform_device *pdev) pdata = &tmpdata; memset(pdata, 0, sizeof(*pdata)); + pdata->name = devm_kstrdup(&pdev->dev, pdev->dev.of_node->name, GFP_KERNEL); pdata->no_autoswitch = true; pdata->num_supplies = get_num_supplies(pdev); -- 2.41.0