From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 50BCECE7A81 for ; Mon, 25 Sep 2023 15:08:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=t9ThnIWRtOVF7tHBy45OAWwX4Wl7D4NgBaNgtDdcJNc=; b=VP49ScPGVg91r/ FiWHt7V8+9QUQ9D9+Z9T/2vmm5/RSTU341RuL1WpWwlIc7B+HyXTAYs8V1UPWnSoj2V0LtIsJC3PY ctlmW9+e8fs1FryaFbgKd8lojAkz7d3yC2XIclHV1XQZVFynjhTt/MFIYO157AONZbrv/kKx4LsVg 0ITeLzpX2v01Iy0gJoad5+AiaXGZgxyViSkk72vVNz0xXY6ypVyWRpOW/u1dOA4z2rnn5tNiSRHxc YLpzXOHfFB1z/4YqzaE+uCshBeyEtgc8RzAtsNBLSr1tWgmlF75Y7fXZBb4F3sNSts2nLNzPNj6CZ lUmuKxmCtlCWUAZqxn0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qknBh-00EVd6-2C; Mon, 25 Sep 2023 15:07:53 +0000 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qknBe-00EVbh-1i for linux-arm-kernel@lists.infradead.org; Mon, 25 Sep 2023 15:07:51 +0000 Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-99c93638322so1513033066b.1 for ; Mon, 25 Sep 2023 08:07:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695654469; x=1696259269; darn=lists.infradead.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=tEZ5TYqKj7Xpyqh7LsqYS+cjUynAUZpYFGDV9Q2kYbI=; b=CtAFWKP9sNpS4yRSuV8127BWvIKaoh19uCrgQq5o481iCq/2GOQ0coHkewtTlH5iCq NLwAQZSenwZNJ6MLJUMMnqKpE085S20pAZRP5bkp75jIqTugXik33ABWADEuuQaW6Mgl jy1Le4iSmpLd7kWUzxeqsQZsWcdkGKMFfhMLqEtLuzArCrn8RPvgVi9DYj2NGsV0LYBC 1yj2nJppTRCiUHKF6+VTJ1KlruMyMvUrYyIJ85CcdugYseT6LfY9frOnUJwlESqwgWkF tjdXygCbgK6VC0Kv/vOLVlg0v6fqACEWdY44eyhjS8e5antu8NstFDJAPmR+v1k4uN8U kWxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695654469; x=1696259269; 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=tEZ5TYqKj7Xpyqh7LsqYS+cjUynAUZpYFGDV9Q2kYbI=; b=DN+rM3nQh3Nxtqoyaxmtq00Rfgj5+9OeXIatmVlVyecsdQ9IK/gkkS5OHE95ADCdrS g6s4piSljYnaQ0njBkbMmsQ9U82Pw50iYUEAIY7ChGd2Lqy44aY2ymaBxWh9XMaSFYa2 x7331kJCyBZYZPFOSYGyVfREenz/XsAXdZ+i1QYPY9+kO9w26BwMF1uI/zHjydrRP7VT 1AQhr8kpCNx6peBq9phhIYusNEocYIeM9OdUsrZr0E9SkbqDGV/it/3UWxv3U6EYsWcI eohVYeSFwcJvEx9226RJuerQJV77diElOO/f9wInhCq7KFaXYIjplMh3t+GZUlaKyFYG tsBQ== X-Gm-Message-State: AOJu0Yz/B+qWpivfkymugxrm3y98XI8wMZ2f57PROl/+FU5+dUxIXdHp gEfLUoDdW/xlEriin7PulV0= X-Google-Smtp-Source: AGHT+IHuvDsUyVa2O8phaopW7XqF8puZjg9QRjHcigLXniRoG9KatTQvuRnfy0vTM9Vw7eaMxEcKbQ== X-Received: by 2002:a17:907:7288:b0:9ae:50ec:bd81 with SMTP id dt8-20020a170907728800b009ae50ecbd81mr15679987ejc.21.1695654468639; Mon, 25 Sep 2023 08:07:48 -0700 (PDT) Received: from jernej-laptop.localnet (82-149-12-148.dynamic.telemach.net. [82.149.12.148]) by smtp.gmail.com with ESMTPSA id s4-20020a170906168400b009ad829ed144sm6409010ejd.130.2023.09.25.08.07.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 08:07:48 -0700 (PDT) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Maxime Ripard Cc: wens@csie.org, airlied@gmail.com, daniel@ffwll.ch, samuel@sholland.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/7] drm/sun4i: dw-hdmi: Split driver registration Date: Mon, 25 Sep 2023 17:07:45 +0200 Message-ID: <3441738.QJadu78ljV@jernej-laptop> In-Reply-To: References: <20230924192604.3262187-1-jernej.skrabec@gmail.com> <20230924192604.3262187-6-jernej.skrabec@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230925_080750_574526_84C2CC59 X-CRM114-Status: GOOD ( 12.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Dne ponedeljek, 25. september 2023 ob 09:47:15 CEST je Maxime Ripard napisal(a): > On Sun, Sep 24, 2023 at 09:26:02PM +0200, Jernej Skrabec wrote: > > There is no reason to register two drivers in same place. Using macro > > lowers amount of boilerplate code. > > There's one actually: you can't have several module_init functions in > the some module, and both files are compiled into the same module. Yeah, I figured as much. However, I think code clean up is good enough reason to add hidden option in Kconfig and extra entry in Makefile (in v2). Do you agree? Best regards, Jernej _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel