Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2068390pxb; Sat, 23 Jan 2021 15:57:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJyRL6UO9dhF5k5Msbdtu5yz9bHwj/IanqHnz1ioMaBF7FKPgyMbD/slxqq5HU52yHqxfek+ X-Received: by 2002:a05:6402:1155:: with SMTP id g21mr8404473edw.279.1611446271849; Sat, 23 Jan 2021 15:57:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611446271; cv=none; d=google.com; s=arc-20160816; b=Ngv4FHBITFUyg++QDEjCSsLKFZW5mXqaiHzQ/Vdj3UaOdLfYDpdp26jTLE7lB/FRr+ u3MWQqJIokCjznlrv+Aonez1p5yjYNjKLA/Zj8FIk6w6Wf2+KNHVZdoGOMr0o5fI60gv DPfopU0iOOc+BPAnSXPZxukzsv7KuBLbmYNbixn+6RH5uSR0VFiqcthL9Sp81PwFHt8a 7LqHpF2HodqPc/iEt1FHXdBPVz61PqSKfHLtwoeSVdz6D0Pl2BHBzMxMoJZH90JmxVca sF0UIraps4ovX17X3EoF5F4u3gMb2MihvrzDl+KoVwMRV5m9XdtPlFh9lRD/jWZQbzOB xyUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=T9IQA43+iHU7clo6ySQk47UiflrToIRPUItvcZy5xwQ=; b=pdPAhaX7pW21XXLqPWeKk3MZg84C6DvuT6MvQyGELBdJ8KcqxnVuMAWSDB1nLXBw3k SYoDbc5SjIkDXBZIwypwwWW5D2AeOxEJIMD35P2r5ohEogVzPjqB2PO9U2xxNb82YDBo I3kEJ/cvlVIs2+6fXxQcsrpsXK1NRS/sRIw0xuDZs3ARlWaXqvdPzMF1F1N1m8hDDcNm 4N7D7jFDKxuq+8orUJifkcgjiY04UHF8ubgF5skjTl11dDq4zg1pf2O0EJxJrBZCR4al +r1uPc4DA8HrQ0nVevAK2I/N/AYuku85lSjsIc2vghi381z1zKKMM846vZwqeC4pPEgf IZtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nbnEqrQR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f13si5674740edx.272.2021.01.23.15.57.29; Sat, 23 Jan 2021 15:57:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nbnEqrQR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726294AbhAWX46 (ORCPT + 99 others); Sat, 23 Jan 2021 18:56:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725922AbhAWX45 (ORCPT ); Sat, 23 Jan 2021 18:56:57 -0500 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAC39C0613D6; Sat, 23 Jan 2021 15:56:16 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id h7so12747733lfc.6; Sat, 23 Jan 2021 15:56:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=T9IQA43+iHU7clo6ySQk47UiflrToIRPUItvcZy5xwQ=; b=nbnEqrQRTfaMjj5a2wOeEPazP7sDVMGZCgcLFhyAuufpTqepvGrF0Fq3GbtAXHqgyL AFMEEBIfJ4wqMooL9WB2UhT5BL6fHTpiJ0UGcjjY8eSTE32G5qogKNLc6yPnlNvIXPpm YMCSsEPjmJpDQCaliT0t1M1IMdDUhuIN+ro+ESJq+N7bYY3Xlca1zHLTzrdjXzA5g7RG uV5RYOa1/Xpz8Ssvz3/V0/D7vvOkK0za21CmifZzVaJtmDMUO3qa203pNtoNOllPQEtR qRZG39S4RaTJeCk5vAvlgRaikqHQStPk8bPCzWy+DWQEnErrJxjvEX9+C4h1OkG54TYF ERQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=T9IQA43+iHU7clo6ySQk47UiflrToIRPUItvcZy5xwQ=; b=n5kLVDHWEc2RbaFCKKZMbwjf+kt1LFJ8cvgNDtDhFKouxIQA6VY9DZhO+D+DsL0gQA VORtYRAgMo+c1cxXeOFbJENw8CRVhyngQ44nehcjRx1sV3e+Dcav2pL0lsyMIDv0eCub r1B84wAUBWeJwNCvoPB/6Sjdu7T+rhViPA/J15C3uUKimvG+3WI70biD/hQQmu4biS5H ngG/R4RNj9TfB9LIwKEd31Zkn8s9Ohf7w189W2P0h3qVll4d1UXyMuNQEIiM+91G+Zd8 iQkN1CgI/iHj1w5LA0tiRIZooW1XzGc9p4aDHanvbv+7rlGulPOhCF/aOl6UeqXyZ8l5 3z8A== X-Gm-Message-State: AOAM530vF0Q5IKLMcBZ8gY+s+KtqQ5S2b2+WuLzOE7qj+tPrjyMG9fAZ hB7fFQTHmwW/D5MUdDsgFrUM/rnMMLA= X-Received: by 2002:ac2:51c9:: with SMTP id u9mr340219lfm.276.1611446174611; Sat, 23 Jan 2021 15:56:14 -0800 (PST) Received: from [192.168.2.145] (109-252-192-57.dynamic.spd-mgts.ru. [109.252.192.57]) by smtp.googlemail.com with ESMTPSA id o5sm1484944lji.133.2021.01.23.15.56.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Jan 2021 15:56:13 -0800 (PST) Subject: Re: [PATCH v1 0/3] Support building gpio-tegra driver as loadable module To: Linus Walleij Cc: Thierry Reding , Jonathan Hunter , Laxman Dewangan , Bartosz Golaszewski , linux-tegra , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" References: <20210122185543.16554-1-digetx@gmail.com> From: Dmitry Osipenko Message-ID: <24d46928-8c57-acba-f9cf-49afbe4c983c@gmail.com> Date: Sun, 24 Jan 2021 02:56:13 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 24.01.2021 01:50, Linus Walleij пишет: > On Fri, Jan 22, 2021 at 7:59 PM Dmitry Osipenko wrote: > >> This small series adds modularization support to the gpio-tegra driver, >> i.e. driver now could be built as a loadable kernel module. >> >> Dmitry Osipenko (3): >> gpio: tegra: Use debugfs_create_devm_seqfile() >> gpio: tegra: Clean up whitespaces in tegra_gpio_driver >> gpio: tegra: Support building driver as a loadable module > > As these three patches clearly make the kernel look better after > than before: > Reviewed-by: Linus Walleij > > However when we are doing this I would strongly encourage you > to also make a patch implementing remove() so you can insmod > rmmod the module at runtime. The remove() is optional for drivers, it doesn't prevent the rmmod.