From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753602Ab0IALz6 (ORCPT ); Wed, 1 Sep 2010 07:55:58 -0400 Received: from adelie.canonical.com ([91.189.90.139]:54066 "EHLO adelie.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751870Ab0IALz4 (ORCPT ); Wed, 1 Sep 2010 07:55:56 -0400 Message-ID: <4C7E3F40.70205@canonical.com> Date: Wed, 01 Sep 2010 19:55:44 +0800 From: Ike Panhc User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100820 Thunderbird/3.1.2 MIME-Version: 1.0 To: Corentin Chary CC: Len Brown , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, Thomas Renninger , Alan Cox , Andrew Morton , David Woodhouse , Randy Dunlap , Len Brown , Matthew Garrett Subject: Re: [PATCH 8/8] ideapad: Change the driver name to ideapad_laptop References: <1282120564-11324-1-git-send-email-ike.pan@canonical.com> <1282120734-11635-1-git-send-email-ike.pan@canonical.com> <4C7606A9.40103@canonical.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/26/2010 03:43 PM, Corentin Chary wrote: > On Thu, Aug 26, 2010 at 8:16 AM, Ike Panhc wrote: >> On 08/26/2010 01:43 PM, Corentin Chary wrote: >>> On Wed, Aug 25, 2010 at 10:56 PM, Len Brown wrote: >>>>> drivers/platform/x86/ideapad_acpi.c | 381 --------------------------------- >>>>> drivers/platform/x86/ideapad_laptop.c | 381 +++++++++++++++++++++++++++++++++ >>>> >>>> Acked-by: Len Brown >>>> >>>> thanks, >>>> Len Brown, Intel Open Source Technology Center >>>> >>>> -- >>>> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in >>>> the body of a message to majordomo@vger.kernel.org >>>> More majordomo info at http://vger.kernel.org/majordomo-info.html >>>> >>> >>> Probably not very important .. but .. other drivers are called *-laptop.c, not >>> *_laptop.c .. >>> >>> asus-laptop.c classmate-laptop.c compal-laptop.c dell-laptop.c eeepc-laptop.c >>> fujitsu-laptop.c msi-laptop.c panasonic-laptop.c sony-laptop.c topstar-laptop.c >>> >> I choose _laptop.c not -laptop.c because when modprobe. We are using >> "modprobe asus-laptop", but when removing, using "modprobe asus_laptop". >> > > Hum, that's a "bug" in asus-laptop, because I used KBUILD_MODNAME > (asus_laptop) instead > of "asus-laptop" as the driver name. And I don't know if I can change > that now without breaking > backward compatibility. > > But other drivers should work (I tested sony-laptop). > Looks like I have some misunderstanding on this. Thank you for correcting it. When I resend patches, I will change the name to *-laptop. :)