OSDN Git Service

staging: gasket: remove "reset type" param from framework
authorTodd Poynor <toddpoynor@google.com>
Thu, 2 Aug 2018 08:42:43 +0000 (01:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Aug 2018 09:00:21 +0000 (11:00 +0200)
commit1c65a2e2f68eae5d73b41dee003b8135dfcf6928
treeb4930cd778dfd6f83e5329cfc97448435b4f8797
parent84d979bc89e3a982940b85014aab357b25d32882
staging: gasket: remove "reset type" param from framework

The "type of reset" parameter to the gasket device reset APIs isn't
required by the only gasket device submitted upstream, apex.

The framework documents the param as private to the device driver and a
pass-through at the gasket layer, but the gasket core calls the device
driver with a hardcoded reset type of zero, which is not documented as
having a predefined meaning.

In light of all this, remove the reset type parameter from the
framework.  Remove the reset ioctl reset type parameter, and bump the
framework version number to reflect the interface change.

Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket.h
drivers/staging/gasket/gasket_constants.h
drivers/staging/gasket/gasket_core.c
drivers/staging/gasket/gasket_core.h
drivers/staging/gasket/gasket_ioctl.c