From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (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 87DA61BC3C; Tue, 4 Feb 2025 12:46:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738673196; cv=none; b=leQrBk82ijhB34hpRuSkQzwhvVkblLaQOtsk81VdKX9Vco/134WiFEQM+6fwnn+XFGHTNAvhsyYM992nWVb8EzT1hsnJgZVx5olQOIwna1rBCljkfAEWvBQBQDxnBAHRz5T0aLlEuipmlb160kAp1sRul/Yd+QEsQhEjp/5HH6o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738673196; c=relaxed/simple; bh=/3Uzy1AzirjLbtYgEkg1X4r7wCucyyirKFO9AWSLxJE=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=DNJebiIwHe3tXBOBU68SUE8MoEbcU2NT9v3LnHSgprvIyyaA5wp4OMo1kjbjfCdzQ1g0pkQ6yX7Est/wVX3VkKaTWrFbdHogAyoCcdC+dr813Sol8520tfCXGScBkKmTvdDoPtPmc5KKQ31H7SwKpfeL3up8+Ml74UlTU4QxjgE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4YnNNJ4148z6D9d1; Tue, 4 Feb 2025 20:44:16 +0800 (CST) Received: from frapeml500008.china.huawei.com (unknown [7.182.85.71]) by mail.maildlp.com (Postfix) with ESMTPS id BE316140B3C; Tue, 4 Feb 2025 20:46:30 +0800 (CST) Received: from localhost (10.203.177.66) by frapeml500008.china.huawei.com (7.182.85.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Tue, 4 Feb 2025 13:46:30 +0100 Date: Tue, 4 Feb 2025 12:46:28 +0000 From: Jonathan Cameron To: Greg Kroah-Hartman CC: , "Rafael J. Wysocki" , Danilo Krummrich , Lyude Paul , Alexander Lobakin , Andy Shevchenko , Bjorn Helgaas , Liam Girdwood , Lukas Wunner , "Mark Brown" , =?ISO-8859-1?Q?Ma=EDra?= Canal , Robin Murphy , Simona Vetter , Zijun Hu , , Subject: Re: [PATCH v2 1/5] driver core: add a faux bus for use when a simple device/bus is needed Message-ID: <20250204124628.000027a5@huawei.com> In-Reply-To: <2025020424-retrain-recharger-407c@gregkh> References: <2025020421-poster-moisture-534b@gregkh> <2025020424-retrain-recharger-407c@gregkh> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml100004.china.huawei.com (7.191.162.219) To frapeml500008.china.huawei.com (7.182.85.71) On Tue, 4 Feb 2025 12:09:13 +0100 Greg Kroah-Hartman wrote: > Many drivers abuse the platform driver/bus system as it provides a > simple way to create and bind a device to a driver-specific set of > probe/release functions. Instead of doing that, and wasting all of the > memory associated with a platform device, here is a "faux" bus that > can be used instead. > > Signed-off-by: Greg Kroah-Hartman FWIW LGTM Reviewed-by: Jonathan Cameron