]> Pileus Git - ~andy/linux/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)
commit9d43dc7f403dbe5da25c7eb488a5975b08d95496
treeed6f88dedda06a1a6d25ebbf5c75eea0e0a6e692
parent8e31d19b93377e2e6ad67bc2e898186327cb0308
clk: si5351: remove variant from platform_data

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