From patchwork Mon Sep 3 00:03:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Davidlohr Bueso X-Patchwork-Id: 1398281 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 0243AE00A6 for ; Mon, 3 Sep 2012 00:05:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755154Ab2ICAFa (ORCPT ); Sun, 2 Sep 2012 20:05:30 -0400 Received: from hapkido.dreamhost.com ([66.33.216.122]:45800 "EHLO hapkido.dreamhost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755563Ab2ICAEV (ORCPT ); Sun, 2 Sep 2012 20:04:21 -0400 Received: from homiemail-a2.g.dreamhost.com (caiajhbdcahe.dreamhost.com [208.97.132.74]) by hapkido.dreamhost.com (Postfix) with ESMTP id 43F87747; Sun, 2 Sep 2012 17:04:21 -0700 (PDT) Received: from homiemail-a2.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a2.g.dreamhost.com (Postfix) with ESMTP id 4946228006D; Sun, 2 Sep 2012 17:03:33 -0700 (PDT) Received: from [192.168.1.33] (unknown [80.31.228.36]) (Authenticated sender: smtp@zesaurus.cl) by homiemail-a2.g.dreamhost.com (Postfix) with ESMTPA id B4079280061; Sun, 2 Sep 2012 17:03:29 -0700 (PDT) Subject: [PATCH 2/5] sonypi: remove acpi_bus_generate_proc_event From: Davidlohr Bueso Reply-To: dave@gnu.org To: Len Brown , Andrew Morton , Zhang Rui , Greg Kroah-Hartman , Mattia Dongili , Arnd Bergmann Cc: platform-driver-x86@vger.kernel.org, lkml , linux-acpi@vger.kernel.org Organization: GNU Date: Mon, 03 Sep 2012 02:03:24 +0200 Message-ID: <1346630604.3170.30.camel@offbook> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Calling this function no longer makes sense as /proc/acpi/event is being removed. Signed-off-by: Davidlohr Bueso --- drivers/char/sonypi.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c index f877805..4543473 100644 --- a/drivers/char/sonypi.c +++ b/drivers/char/sonypi.c @@ -876,11 +876,6 @@ found: if (useinput) sonypi_report_input_event(event); -#ifdef CONFIG_ACPI - if (sonypi_acpi_device) - acpi_bus_generate_proc_event(sonypi_acpi_device, 1, event); -#endif - kfifo_in_locked(&sonypi_device.fifo, (unsigned char *)&event, sizeof(event), &sonypi_device.fifo_lock); kill_fasync(&sonypi_device.fifo_async, SIGIO, POLL_IN);