staging: most: dim2-hdm: introduce function dim2_transfer_madr
authorChristian Gromm <christian.gromm@microchip.com>
Thu, 18 Aug 2016 14:58:47 +0000 (16:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Aug 2016 15:24:00 +0000 (17:24 +0200)
commit95a31ef173e7cad94e5cb381d7893f92cee788a1
treecedb222c0a9fdc9c3eb44c528bb87995fa576791
parent9fe7aeaca7ffec24a821c493b272614bd153b9aa
staging: most: dim2-hdm: introduce function dim2_transfer_madr

This patch removes duplicated code by putting it into the new function
dim2_transfer_madr.

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/hdm-dim2/dim2_hal.c