]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: hv: Introduce a common function for issuing commands to the device
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 22 Apr 2011 21:55:08 +0000 (14:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 25 Apr 2011 23:22:50 +0000 (16:22 -0700)
commit6932115aea8760ca15fb04fad66274579337a8be
tree7b1b9c4282cddd29ac5c0eb91b3c271d276a22fb
parent3723c7759d42032d15b085d10520e615be8c0fdd
Staging: hv: Introduce a common function for issuing commands to the device

There are multiple functions to either get info about the device
(INQUIRY, CAPACITY etc) or to FLUSH the device cache. The majority of the
code for these functions is identical. Introduce a common function for
doing all these operations.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/blkvsc_drv.c