From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752052AbbEGM47 (ORCPT ); Thu, 7 May 2015 08:56:59 -0400 Received: from mga09.intel.com ([134.134.136.24]:26948 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751313AbbEGMzJ (ORCPT ); Thu, 7 May 2015 08:55:09 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,384,1427785200"; d="scan'208";a="490564658" From: Tomas Winkler To: gregkh@linuxfoundation.org Cc: arnd@arndb.de, linux-kernel@vger.kernel.org, Tomas Winkler , Samuel Ortiz Subject: [char-misc-next 08/11] mei: bus: kill mei_cl_ops Date: Thu, 7 May 2015 15:54:05 +0300 Message-Id: <1431003248-3164-8-git-send-email-tomas.winkler@intel.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1431003248-3164-1-git-send-email-tomas.winkler@intel.com> References: <1431003248-3164-1-git-send-email-tomas.winkler@intel.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org since we move all nfc hanling to the mei_phy module we can kill mei_cl_ops Cc: Samuel Ortiz Signed-off-by: Tomas Winkler --- drivers/misc/mei/mei_dev.h | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h index 2175bff2730f..609a2d2c2dba 100644 --- a/drivers/misc/mei/mei_dev.h +++ b/drivers/misc/mei/mei_dev.h @@ -328,27 +328,6 @@ struct mei_hw_ops { /* MEI bus API*/ -/** - * struct mei_cl_ops - MEI CL device ops - * This structure allows ME host clients to implement technology - * specific operations. - * - * @enable: Enable an MEI CL device. Some devices require specific - * HECI commands to initialize completely. - * @disable: Disable an MEI CL device. - * @send: Tx hook for the device. This allows ME host clients to trap - * the device driver buffers before actually physically - * pushing it to the ME. - * @recv: Rx hook for the device. This allows ME host clients to trap the - * ME buffers before forwarding them to the device driver. - */ -struct mei_cl_ops { - int (*enable)(struct mei_cl_device *device); - int (*disable)(struct mei_cl_device *device); - int (*send)(struct mei_cl_device *device, u8 *buf, size_t length); - int (*recv)(struct mei_cl_device *device, u8 *buf, size_t length); -}; - struct mei_cl_device *mei_cl_add_device(struct mei_device *dev, struct mei_me_client *me_cl, struct mei_cl *cl, @@ -376,7 +355,6 @@ struct mei_cl *mei_cl_bus_find_cl_by_uuid(struct mei_device *dev, uuid_le uuid); * @me_cl: me client * @cl: mei client * @name: device name - * @ops: ME transport ops * @event_work: async work to execute event callback * @event_cb: Drivers register this callback to get asynchronous ME * events (e.g. Rx buffer pending) notifications. @@ -391,8 +369,6 @@ struct mei_cl_device { struct mei_cl *cl; char name[MEI_CL_NAME_SIZE]; - const struct mei_cl_ops *ops; - struct work_struct event_work; mei_cl_event_cb_t event_cb; void *event_context; -- 2.1.0