]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfd2038be4a28f434c8e58c8a3f706f78b476ccf0
treeed6f88dedda06a1a6d25ebbf5c75eea0e0a6e692
parent715c2056682158ac6b2d485f1c796412cfad8782
clk: si5351: remove variant from platform_data

Commit 74a1fab0da320fec1968addab6a2b395229de1aa
  "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