[PATCH 13/23] tuners/xc2028: Replace memcpy with struct assignment

Ezequiel Garcia
2012-10-23T19:57:16Z

drivers/media/tuners/tuner-xc2028.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/media/tuners/tuner-xc2028.c b/drivers/media/tuners/tuner-xc2028.c
index 7bcb6b0..0945173 100644
--- a/drivers/media/tuners/tuner-xc2028.c
+++ b/drivers/media/tuners/tuner-xc2028.c
@@ -870,7 +870,7 @@ check_device:
}

read_not_reliable:
- memcpy(&priv->cur_fw, &new_fw, sizeof(priv->cur_fw));
+ priv->cur_fw = new_fw;

/*
* By setting BASE in cur_fw.type only after successfully loading all
--
1.7.4.4