Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp743257rdb; Tue, 23 Jan 2024 13:39:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IGmptj6R6RU/g1SkmZSzE2xAdHHllSpDnMMopWSEsmdKgh4woWMv0KIcCfEiPvwy0nFrA94 X-Received: by 2002:a0c:db8a:0:b0:681:87dc:c810 with SMTP id m10-20020a0cdb8a000000b0068187dcc810mr1532147qvk.43.1706045989882; Tue, 23 Jan 2024 13:39:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706045989; cv=pass; d=google.com; s=arc-20160816; b=NU07D2ypdaRweHti9H7TAMH6Ac4FyYW8Zf+915fkM7w3J7UKm4lsOxcDTCB8ii9FfD v6QIAyXwW223Z4sOWbzOD7vzig+WAZ07dgUxaNWdvvnKlkJdQ7Cg20aTV2haRjVb+Gmg /uH+73xayHbtx25wn7N8GB7mdkEpclhZwC6D3KRoNKa4i6y82FOGec9UEQfP5pwF42e9 muvek/wtmzmqQeNpsCsvCtqW0PJkzDZUxCK9eIgMPt9EbT5Gi/ZrJOzknkkhcRPkBEWv PQ+JJUKo5yG6wgj3sUh2BowizMpDpuKaCDwhsVi4yHFUJpoWb7C8GgHVTEpAn14kqg5t O1yQ== 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:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=ueWDJyoR6lihERqmkD5MS4/jsBMmv90xMW2vkc0xgr4=; fh=0fTAxmGsXLcLxHkEXOLIgHLDbFi7ASf+vAxEw55BzX8=; b=c/Orp34ffizA5XMcUZ8f28lNWnl4BSyWHtPx9NMDT9c0nKIiGafcA96bqqMxXnZvHH TmKSyjIMmP69lvBkA6lKwvI1eObbWfwb7EgCiH7ET096zB4ohaRpmgF6jSD8Ubh5PPAV qxX1/W60DkGq43za4XFifUn04GXXKga5voa0zsNeOuIsKl+tf5htECAJWr0hWEHEaw9W 1r1v/A/Y1j0CDxkC8WvjaoM2rr6lsu3Yclol/Nb7sQ3LDVG/xcj7oNbt3rBmSnjZy0db f1SVxE4pP0QB/dNI6hyY/8tTjC5AV9bn9p6m879dCcTzcWi7TP8gNN5wnkwhVltJ30gD Enew== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NJNDYrC+; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-36082-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36082-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id w16-20020a0ce110000000b00681782e1289si8747022qvk.27.2024.01.23.13.39.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 13:39:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36082-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NJNDYrC+; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-36082-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36082-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A1CA61C21B1B for ; Tue, 23 Jan 2024 21:39:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 198663B18D; Tue, 23 Jan 2024 21:39:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="NJNDYrC+" Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 99D244C67 for ; Tue, 23 Jan 2024 21:39:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706045983; cv=none; b=UkggOWvJa8hZqIpIafLUJJ5d8WxW7CzIpqelONQFgTcUq7mEa78wqDIqhcgBsm5HpFgDr0jJNnma/zktq7tTlw8U9SRfhPNs+a2IgVU6+a1zDN6IttrF+EPLEpEJ0drbUHJLl6H/qpSo4Szhy71S2kgY8Q3/gTzZ3IJBtVfORqs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706045983; c=relaxed/simple; bh=eGUZA3C7Jf4gExxMvQzpPkgWGftWT2JC9Wha80xEiNI=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=WeLlL90EOHOzCcyoZFBZtYO2cSgKX7v1uMUvTJLCSg+dpglKKI/wz/Np/xFstHnLGwnlXyBhLX8vhAYGqGZ/LM/8JCS1JAbWR5NnEB7UmxDUJsQTIzS5nO1LGn7cRYTAgFa2Emg/qDY2kmVfNDgNS+FQ0tsXZMDRnIZKlnaGA1c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=NJNDYrC+; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-40eb033c192so14178065e9.0 for ; Tue, 23 Jan 2024 13:39:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706045980; x=1706650780; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ueWDJyoR6lihERqmkD5MS4/jsBMmv90xMW2vkc0xgr4=; b=NJNDYrC+xcRp1ttTURz2n/DQ3Xum8EJII9n2iCaMXwUllD4EsiVDi+CJD7kt1GASRs DYzXHFj9sDIlOW7QWcr3lapIMQ4oxeB1LwoINKgFW+whCNdzRcg105rv8VBHvOGVg5to TvHf7DimuvWMQukj3DVIFTUuB1P/zrp/Boeb1zVOw3CKfW0yFMr2CyPt1MUIHee7pwZT 9dIm4PknoXJ1nX1WmHgAYXZXCuiE+IcbhCQhz//bK26K2aREbjQRlreeYjJISjq4f7K7 Un9lHbNay5tZSqN6mu/QAQ2t6zAHlOa47L1JGpbQWqPLsE4JEyDlJCXEos6UKOghX0F9 kqxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706045980; x=1706650780; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ueWDJyoR6lihERqmkD5MS4/jsBMmv90xMW2vkc0xgr4=; b=nHaxsVHGQm3yTd0Zo4hJlSGgDdFpygKNhHJH1kf+0Ame2BP6amc0p67IScWInBolW0 VDfbfcBTP5Y0mZUDMf0IMYiP/LwIIyU9bQlkze9SuDO4yB3A2Jq8Ou+DequQXy/VabCQ +C2V8czVCvOLma60hBH7XpoJc53GS0e+ms+bzNX6EOXM44UajH+29GS7pKj9YQQWRCtb JDqhC01TqO2PXorLEVUXapLxQXtXaf66sCwW+13aPO0KwXo9C8X+p3A9S1sqVXOyasEu mRn8nC+qW8FIkBw87aTkR2b3c5xCzoGqTGD2UPCMNAwqId6r/ANJpwfAAbUe1SEDeb0f fnuw== X-Gm-Message-State: AOJu0Yy2H5d9UKab6yB0IJWLfzqbW2ANg5mCFP0ZB8VEskCAtYKsX+Fr Y28IOgoHQyhPgsY3eoTQWG9Ra4oufArioWSxY6WOSr8ss1xwBnZ+77JxpuEsJlI= X-Received: by 2002:a05:600c:4c19:b0:40e:4c31:affa with SMTP id d25-20020a05600c4c1900b0040e4c31affamr101652wmp.138.1706045979854; Tue, 23 Jan 2024 13:39:39 -0800 (PST) Received: from [127.0.1.1] ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id df10-20020a5d5b8a000000b0033947d7651asm1971377wrb.5.2024.01.23.13.39.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 13:39:39 -0800 (PST) From: Krzysztof Kozlowski To: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= Cc: Santosh Shilimkar , linux-kernel@vger.kernel.org, kernel@pengutronix.de In-Reply-To: <20240123170846.1362597-2-u.kleine-koenig@pengutronix.de> References: <20240123170846.1362597-2-u.kleine-koenig@pengutronix.de> Subject: Re: [PATCH v2] memory: emif: Drop usage of platform_driver_probe() Message-Id: <170604597893.13131.15390870521547732814.b4-ty@linaro.org> Date: Tue, 23 Jan 2024 22:39:38 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.12.4 On Tue, 23 Jan 2024 18:08:47 +0100, Uwe Kleine-König wrote: > There are considerations to drop platform_driver_probe() as a concept > that isn't relevant any more today. It comes with an added complexity > that makes many users hold it wrong. (E.g. this driver should have > better used __init instead of __init_or_module to mark functions only > relevant to .probe() and mark the driver struct with __refdata.) > > This fixes a W=1 build warning: > > [...] Applied, thanks! [1/1] memory: emif: Drop usage of platform_driver_probe() https://git.kernel.org/krzk/linux-mem-ctrl/c/f0b203bf9bbc89d3230d6a3d6254d11f7a4b6064 Best regards, -- Krzysztof Kozlowski