staging: most: i2c: remove unnecessary poison_channel call
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 8 May 2018 09:44:52 +0000 (11:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 May 2018 11:41:48 +0000 (13:41 +0200)
commit95b2f82d63f6d0888db188dddf76433dce32affe
tree3507a4c23233a4dd8639c8d51860ad4c7d514af0
parentceb1edc2a0a52b6f4285fbfc8f29a42b6109e52d
staging: most: i2c: remove unnecessary poison_channel call

This removes call of the poison_channel that is:
  - not allowed after most_deregister_interface;
  - is made during the most_deregister_interface call.

Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/i2c/i2c.c