Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mei: bus: kill mei_cl_ops

since we move all nfc hanling to the mei_phy module
we can kill mei_cl_ops

Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Tomas Winkler and committed by
Greg Kroah-Hartman
d4b78c72 be9b720a

-24
-24
drivers/misc/mei/mei_dev.h
··· 328 328 329 329 /* MEI bus API*/ 330 330 331 - /** 332 - * struct mei_cl_ops - MEI CL device ops 333 - * This structure allows ME host clients to implement technology 334 - * specific operations. 335 - * 336 - * @enable: Enable an MEI CL device. Some devices require specific 337 - * HECI commands to initialize completely. 338 - * @disable: Disable an MEI CL device. 339 - * @send: Tx hook for the device. This allows ME host clients to trap 340 - * the device driver buffers before actually physically 341 - * pushing it to the ME. 342 - * @recv: Rx hook for the device. This allows ME host clients to trap the 343 - * ME buffers before forwarding them to the device driver. 344 - */ 345 - struct mei_cl_ops { 346 - int (*enable)(struct mei_cl_device *device); 347 - int (*disable)(struct mei_cl_device *device); 348 - int (*send)(struct mei_cl_device *device, u8 *buf, size_t length); 349 - int (*recv)(struct mei_cl_device *device, u8 *buf, size_t length); 350 - }; 351 - 352 331 struct mei_cl_device *mei_cl_add_device(struct mei_device *dev, 353 332 struct mei_me_client *me_cl, 354 333 struct mei_cl *cl, ··· 355 376 * @me_cl: me client 356 377 * @cl: mei client 357 378 * @name: device name 358 - * @ops: ME transport ops 359 379 * @event_work: async work to execute event callback 360 380 * @event_cb: Drivers register this callback to get asynchronous ME 361 381 * events (e.g. Rx buffer pending) notifications. ··· 368 390 struct mei_me_client *me_cl; 369 391 struct mei_cl *cl; 370 392 char name[MEI_CL_NAME_SIZE]; 371 - 372 - const struct mei_cl_ops *ops; 373 393 374 394 struct work_struct event_work; 375 395 mei_cl_event_cb_t event_cb;