i2c: ismt: improve usage of devres API
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 16 Sep 2015 14:23:58 +0000 (17:23 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 20 Oct 2015 14:51:38 +0000 (16:51 +0200)
commit600ca08023e33b6afe7ba65aebe419058e17eec7
tree1f82b76b4fb9d346ef4edd23a2769e53f882b905
parent6109dbd618e5921eed6b4d09d48c0abc8cd508cd
i2c: ismt: improve usage of devres API

pcim_release() will release any requested region. There is no need to duplicate
this effort in the driver.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-ismt.c