From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751540AbbIKIiO (ORCPT ); Fri, 11 Sep 2015 04:38:14 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:35048 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751170AbbIKIiL (ORCPT ); Fri, 11 Sep 2015 04:38:11 -0400 Date: Fri, 11 Sep 2015 14:08:06 +0530 From: Viresh Kumar To: Arnd Bergmann Cc: "Rafael J. Wysocki" , Pi-Cheng Chen , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: cpufreq: mediatek: allow modular build Message-ID: <20150911083806.GM9650@linux> References: <1768766.yu1lxjsjLL@wuerfel> <2329563.MhTbBXHVz1@wuerfel> <20150911082536.GL9650@linux> <3071823.f1VzTWVMmV@wuerfel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3071823.f1VzTWVMmV@wuerfel> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11-09-15, 10:36, Arnd Bergmann wrote: > I don't consider that a bug: a module with just an init function and > no exit function can be loaded once and never unloaded, which is not > nice for debugging, but is otherwise fully functional. For me, there are two essential things that a module has to support: - hotplug, which is just fine. - hot-unplug, which will pass as well, but without freeing resources.. :) -- viresh