mei: move amthif specific code from mei_write to mei_amthif_write
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 1 Nov 2012 19:17:18 +0000 (21:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Nov 2012 19:31:19 +0000 (12:31 -0700)
commitab5c4a56d46f6a41d238aa6546f900407c9be275
treef4150a5cc01bc2af12c01d6043b43b0b89214105
parentc7d3df354dcb7477900b29a1200744a8c976c03a
mei: move amthif specific code from mei_write to mei_amthif_write

For sake of amthif consolidation move amthif specific code from
mei_write to mei_amthif_write

The original mei_amthif_write to mei_amthif_send_cmd
as this function deals with sending single command
while mei_amthif_write is interface function called from
the main driver which in turns calls mei_amthif_send_cmd

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/amthif.c
drivers/misc/mei/main.c