From patchwork Tue Oct 14 18:28:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 38730 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3A3FC20549 for ; Tue, 14 Oct 2014 18:29:40 +0000 (UTC) Received: by mail-wi0-f200.google.com with SMTP id h11sf2781389wiw.7 for ; Tue, 14 Oct 2014 11:29:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe:content-type; bh=HC5IfXfikE2Y+gtrAuuBEIncofb8gcjdEUTJfYFTdYQ=; b=WkWHSFq6CSYlAp80UqnUCg+TFj2bHGGeksDT1MCLg5/pgUMkPQhCeALEdJgpPUQ22d MVEHA3/e83Z8m3QTlfGLFA7Z3v24lEbQrlWf/8v8wDVyE9q9G3VxanJ+yPvUzw/nk6Bl BQKtCMKeuTGT8TeixUp8Am2C73fFgIDiXWJ1o8i4IDWTzLUb2JJP3soIW5ZNWgz8EU1f ticp6h8IIpsof3ntdjqMAzdlfk/OYhDcilrZgma/N09nskXOCKkY61mFYO2L+Iv8F1CE +Zel/HtKaM7LRoB5TtOlDAE89etWI+mAylg3ucEOHGlL5PoTNjui9MSioVknugGQS5Qd 2wZw== X-Gm-Message-State: ALoCoQmB1I8tUqb97lb1/hRHvQwpH9bkYhU3YZRIlffBmTqRmfQbpsfI3ObHZd+WZHxgFGCoG0Da X-Received: by 10.112.32.163 with SMTP id k3mr170367lbi.17.1413311379382; Tue, 14 Oct 2014 11:29:39 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.29.135 with SMTP id k7ls544868lah.78.gmail; Tue, 14 Oct 2014 11:29:39 -0700 (PDT) X-Received: by 10.152.87.98 with SMTP id w2mr7084524laz.27.1413311379008; Tue, 14 Oct 2014 11:29:39 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx.google.com with ESMTPS id n7si5150740laj.61.2014.10.14.11.29.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Oct 2014 11:29:38 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by mail-la0-f54.google.com with SMTP id gm9so9093537lab.27 for ; Tue, 14 Oct 2014 11:29:38 -0700 (PDT) X-Received: by 10.112.221.197 with SMTP id qg5mr7224985lbc.32.1413311378884; Tue, 14 Oct 2014 11:29:38 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp457512lbz; Tue, 14 Oct 2014 11:29:36 -0700 (PDT) X-Received: by 10.66.121.232 with SMTP id ln8mr6608408pab.5.1413311373541; Tue, 14 Oct 2014 11:29:33 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u10si13627958pdm.104.2014.10.14.11.29.32 for ; Tue, 14 Oct 2014 11:29:33 -0700 (PDT) Received-SPF: none (google.com: linux-fbdev-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753413AbaJNS3b (ORCPT ); Tue, 14 Oct 2014 14:29:31 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:38642 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754340AbaJNS3a (ORCPT ); Tue, 14 Oct 2014 14:29:30 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s9EIT20f016693; Tue, 14 Oct 2014 13:29:02 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9EIT2NI032222; Tue, 14 Oct 2014 13:29:02 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Tue, 14 Oct 2014 13:29:02 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9EIT1SP018578; Tue, 14 Oct 2014 13:29:02 -0500 From: Felipe Balbi To: Tomi Valkeinen CC: Linux OMAP Mailing List , Tony Lindgren , Benoit Cousson , Linux ARM Kernel Mailing List , , Darren Etheridge , Felipe Balbi Subject: [PATCH 1/3] video: fbdev: omap2: omapfb: remove __exit annotation Date: Tue, 14 Oct 2014 13:28:53 -0500 Message-ID: <1413311335-25083-1-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.1.0.GIT MIME-Version: 1.0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: balbi@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , if we leave __exit annotation, driver can't be unbound through sysfs. Signed-off-by: Felipe Balbi --- drivers/video/fbdev/omap2/omapfb/omapfb-main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/omap2/omapfb/omapfb-main.c b/drivers/video/fbdev/omap2/omapfb/omapfb-main.c index ec2d132..9cbf1ce 100644 --- a/drivers/video/fbdev/omap2/omapfb/omapfb-main.c +++ b/drivers/video/fbdev/omap2/omapfb/omapfb-main.c @@ -2619,7 +2619,7 @@ err0: return r; } -static int __exit omapfb_remove(struct platform_device *pdev) +static int omapfb_remove(struct platform_device *pdev) { struct omapfb2_device *fbdev = platform_get_drvdata(pdev); @@ -2636,7 +2636,7 @@ static int __exit omapfb_remove(struct platform_device *pdev) static struct platform_driver omapfb_driver = { .probe = omapfb_probe, - .remove = __exit_p(omapfb_remove), + .remove = omapfb_remove, .driver = { .name = "omapfb", .owner = THIS_MODULE,