clk: si5351: remove variant from platform_data
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Sat, 25 Jan 2014 20:48:31 +0000 (21:48 +0100)
committerMike Turquette <mturquette@linaro.org>
Mon, 27 Jan 2014 19:20:22 +0000 (11:20 -0800)
Commit 9807362bfe1748d9bb48eecb9261f1b1aaafea1c
  "clk: si5351: declare all device IDs for module loading"
removed the common i2c_device_id and introduced new ones for each variant
of the clock generator. Instead of exploiting that information in the driver,
it still depends on platform_data passing the chips .variant.

This removes the now redundant .variant from the platform_data and puts it in
i2c_device_id's .driver_data instead.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-si5351.c
drivers/clk/clk-si5351.h
include/linux/platform_data/si5351.h

Simple merge
Simple merge
Simple merge