Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2357850ybg; Thu, 24 Oct 2019 08:32:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqxFAl4zJwpJXcKkNE8e2tjz6xeNc0Cz69C0jBZvQnJeqcjzZOBY/e5TgrdiCvjIJsd69yNJ X-Received: by 2002:a50:9a46:: with SMTP id o64mr44803701edb.191.1571931146380; Thu, 24 Oct 2019 08:32:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571931146; cv=none; d=google.com; s=arc-20160816; b=Fnpt9c+o57uPcqCNJHOFrB3Y6lSYI30252Bz3NBu+Emb3fZsbhr5SPKU4E1LZ5q5jB o6DAUsKgP7w9EoX6RrYb+WfosXPr+EE24Ai1uZ41MrU9DbtphjdyLwwXj/1CVMR0tXMN nWkKzuiomTxPjH5Q57wegg8CU2Ygrnd6qlOZ5w+CxperZTHlpUPGjn9ZVbFfGmOXmb+O GE992r9IvHFQwHHkmMkhS+9iozdbzbl5IX/5Wxi/I8SrSeDZbD2Ot4jPK2Fj0eCNFV5v 30JS0SatutookvBMGraracPdhXNg+jQcrSX6bZO0b26tQgfgZiemH1LvL7npzx4k1TDe AU6Q== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=pgGurNKOaksQ2PBnk1glQ54smO1L19+uauVBjETZV6c=; b=riDY8iPIYQ5NNF0axlExAAeytpzwIIuxPPSNv/GHKP15u6AZLDN+8l5Mn18vdw/9A0 G4tmK1ibGjg5UY4Pl5+GKR0ZNLi90BA3lj/hhvRT0vAHVhoXi82xSoU0twISCikuX1ld TY2M2s38CnYQbkgmATMoZuHRH2lwkHj/eWpM+8CHdhmf4FSgnw55WUciIntx6DOhrk1Q AxkPlbTrqra7vdPpENzQI4CdOWavYpVrwgHd7R11Np0f7woGDSaMtd+Q+AC8LOPbCKNk TOIZ5pQXmwsAOlmm4wrNVmUFC7JkrYQ9DPmh35igP1WNUAdN5qoONVbJhAcOGeYfaXRi dduw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qw5si4865169ejb.91.2019.10.24.08.32.01; Thu, 24 Oct 2019 08:32:26 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406301AbfJWV2q (ORCPT + 99 others); Wed, 23 Oct 2019 17:28:46 -0400 Received: from mga09.intel.com ([134.134.136.24]:24158 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392559AbfJWV2o (ORCPT ); Wed, 23 Oct 2019 17:28:44 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Oct 2019 14:28:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,222,1569308400"; d="scan'208";a="399541178" Received: from ayamada-mobl1.gar.corp.intel.com (HELO pbossart-mobl3.intel.com) ([10.254.95.208]) by fmsmga006.fm.intel.com with ESMTP; 23 Oct 2019 14:28:42 -0700 From: Pierre-Louis Bossart To: alsa-devel@alsa-project.org Cc: linux-kernel@vger.kernel.org, tiwai@suse.de, broonie@kernel.org, vkoul@kernel.org, gregkh@linuxfoundation.org, jank@cadence.com, srinivas.kandagatla@linaro.org, slawomir.blauciak@intel.com, Bard liao , Rander Wang , Ranjani Sridharan , Pierre-Louis Bossart , Sanyog Kale Subject: [PATCH 04/14] soundwire: bus_type: rename sdw_drv_ to sdw_slave_drv Date: Wed, 23 Oct 2019 16:28:13 -0500 Message-Id: <20191023212823.608-5-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191023212823.608-1-pierre-louis.bossart@linux.intel.com> References: <20191023212823.608-1-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Before we add master driver support, make sure there is no ambiguity and no occirrences of sdw_drv_ functions. No functionality change. Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/bus_type.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/soundwire/bus_type.c b/drivers/soundwire/bus_type.c index 2b2830b622fa..9a0fd3ee1014 100644 --- a/drivers/soundwire/bus_type.c +++ b/drivers/soundwire/bus_type.c @@ -67,7 +67,7 @@ struct bus_type sdw_bus_type = { }; EXPORT_SYMBOL_GPL(sdw_bus_type); -static int sdw_drv_probe(struct device *dev) +static int sdw_slave_drv_probe(struct device *dev) { struct sdw_slave *slave = to_sdw_slave_device(dev); struct sdw_driver *drv = to_sdw_slave_driver(dev->driver); @@ -113,7 +113,7 @@ static int sdw_drv_probe(struct device *dev) return 0; } -static int sdw_drv_remove(struct device *dev) +static int sdw_slave_drv_remove(struct device *dev) { struct sdw_slave *slave = to_sdw_slave_device(dev); struct sdw_driver *drv = to_sdw_slave_driver(dev->driver); @@ -127,7 +127,7 @@ static int sdw_drv_remove(struct device *dev) return ret; } -static void sdw_drv_shutdown(struct device *dev) +static void sdw_slave_drv_shutdown(struct device *dev) { struct sdw_slave *slave = to_sdw_slave_device(dev); struct sdw_driver *drv = to_sdw_slave_driver(dev->driver); @@ -155,13 +155,13 @@ int __sdw_register_slave_driver(struct sdw_driver *drv, } drv->driver.owner = owner; - drv->driver.probe = sdw_drv_probe; + drv->driver.probe = sdw_slave_drv_probe; if (drv->remove) - drv->driver.remove = sdw_drv_remove; + drv->driver.remove = sdw_slave_drv_remove; if (drv->shutdown) - drv->driver.shutdown = sdw_drv_shutdown; + drv->driver.shutdown = sdw_slave_drv_shutdown; return driver_register(&drv->driver); } -- 2.20.1