clk-max77686.c (1d33369db25eb7f37b7a8bd22d736888b4501a9c) clk-max77686.c (1c7032258d568f9a7aeb4c541786699d9a219a2a)
1/*
2 * clk-max77686.c - Clock driver for Maxim 77686/MAX77802
3 *
4 * Copyright (C) 2012 Samsung Electornics
5 * Jonghwa Lee <jonghwa3.lee@samsung.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the

--- 202 unchanged lines hidden (view full) ---

211 hw_clks = max77620_hw_clks_info;
212 break;
213
214 default:
215 dev_err(dev, "Unknown Chip ID\n");
216 return -EINVAL;
217 }
218
1/*
2 * clk-max77686.c - Clock driver for Maxim 77686/MAX77802
3 *
4 * Copyright (C) 2012 Samsung Electornics
5 * Jonghwa Lee <jonghwa3.lee@samsung.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the

--- 202 unchanged lines hidden (view full) ---

211 hw_clks = max77620_hw_clks_info;
212 break;
213
214 default:
215 dev_err(dev, "Unknown Chip ID\n");
216 return -EINVAL;
217 }
218
219 drv_data->num_clks = num_clks;
219 drv_data->max_clk_data = devm_kcalloc(dev, num_clks,
220 sizeof(*drv_data->max_clk_data),
221 GFP_KERNEL);
222 if (!drv_data->max_clk_data)
223 return -ENOMEM;
224
225 for (i = 0; i < num_clks; i++) {
226 struct max77686_clk_init_data *max_clk_data;

--- 96 unchanged lines hidden ---
220 drv_data->max_clk_data = devm_kcalloc(dev, num_clks,
221 sizeof(*drv_data->max_clk_data),
222 GFP_KERNEL);
223 if (!drv_data->max_clk_data)
224 return -ENOMEM;
225
226 for (i = 0; i < num_clks; i++) {
227 struct max77686_clk_init_data *max_clk_data;

--- 96 unchanged lines hidden ---