Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751109AbWEZQcV (ORCPT ); Fri, 26 May 2006 12:32:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751068AbWEZQ3h (ORCPT ); Fri, 26 May 2006 12:29:37 -0400 Received: from pne-smtpout3-sn2.hy.skanova.net ([81.228.8.111]:55547 "EHLO pne-smtpout3-sn2.hy.skanova.net") by vger.kernel.org with ESMTP id S1751062AbWEZQ3X (ORCPT ); Fri, 26 May 2006 12:29:23 -0400 Message-Id: <20060526162909.424581000@gmail.com> References: <20060526161129.557416000@gmail.com> User-Agent: quilt/0.44-1 Date: Fri, 26 May 2006 19:11:40 +0300 From: Anssi Hannula To: Dmitry Torokhov Cc: linux-joystick@atrey.karlin.mff.cuni.cz, linux-kernel@vger.kernel.org Subject: [patch 11/13] input: drop the remains of the old ff interface Content-Disposition: inline; filename=ff-refactoring-drop-old-interface.diff Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1534 Lines: 41 Drop the now unused handlers and input_report_ff(). Signed-off-by: Anssi Hannula --- include/linux/input.h | 7 ------- 1 files changed, 7 deletions(-) Index: linux-2.6.16-git20/include/linux/input.h =================================================================== --- linux-2.6.16-git20.orig/include/linux/input.h 2006-04-15 00:05:00.000000000 +0300 +++ linux-2.6.16-git20/include/linux/input.h 2006-04-15 00:05:41.000000000 +0300 @@ -938,8 +938,6 @@ struct input_dev { int (*accept)(struct input_dev *dev, struct file *file); int (*flush)(struct input_dev *dev, struct file *file); int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value); - int (*upload_effect)(struct input_dev *dev, struct ff_effect *effect); - int (*erase_effect)(struct input_dev *dev, int effect_id); struct input_handle *grab; @@ -1118,11 +1116,6 @@ static inline void input_report_abs(stru input_event(dev, EV_ABS, code, value); } -static inline void input_report_ff(struct input_dev *dev, unsigned int code, int value) -{ - input_event(dev, EV_FF, code, value); -} - static inline void input_report_ff_status(struct input_dev *dev, unsigned int code, int value) { input_event(dev, EV_FF_STATUS, code, value); -- Anssi Hannula - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/