regulator-haptic.c (ec3b34e1975670e68be3abff76f56dbb41dd417c) regulator-haptic.c (731857715f03035c812c3f6bdcb6b0179150c1aa)
1/*
2 * Regulator haptic driver
3 *
4 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
5 * Author: Jaewon Kim <jaewon02.kim@samsung.com>
6 * Author: Hyunhee Kim <hyunhee.kim@samsung.com>
7 *
8 * This program is free software; you can redistribute it and/or modify

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

244
245static SIMPLE_DEV_PM_OPS(regulator_haptic_pm_ops,
246 regulator_haptic_suspend, regulator_haptic_resume);
247
248static const struct of_device_id regulator_haptic_dt_match[] = {
249 { .compatible = "regulator-haptic" },
250 { /* sentinel */ },
251};
1/*
2 * Regulator haptic driver
3 *
4 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
5 * Author: Jaewon Kim <jaewon02.kim@samsung.com>
6 * Author: Hyunhee Kim <hyunhee.kim@samsung.com>
7 *
8 * This program is free software; you can redistribute it and/or modify

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

244
245static SIMPLE_DEV_PM_OPS(regulator_haptic_pm_ops,
246 regulator_haptic_suspend, regulator_haptic_resume);
247
248static const struct of_device_id regulator_haptic_dt_match[] = {
249 { .compatible = "regulator-haptic" },
250 { /* sentinel */ },
251};
252MODULE_DEVICE_TABLE(of, regulator_haptic_dt_match);
252
253static struct platform_driver regulator_haptic_driver = {
254 .probe = regulator_haptic_probe,
255 .driver = {
256 .name = "regulator-haptic",
257 .of_match_table = regulator_haptic_dt_match,
258 .pm = &regulator_haptic_pm_ops,
259 },
260};
261module_platform_driver(regulator_haptic_driver);
262
263MODULE_AUTHOR("Jaewon Kim <jaewon02.kim@samsung.com>");
264MODULE_AUTHOR("Hyunhee Kim <hyunhee.kim@samsung.com>");
265MODULE_DESCRIPTION("Regulator haptic driver");
266MODULE_LICENSE("GPL");
253
254static struct platform_driver regulator_haptic_driver = {
255 .probe = regulator_haptic_probe,
256 .driver = {
257 .name = "regulator-haptic",
258 .of_match_table = regulator_haptic_dt_match,
259 .pm = &regulator_haptic_pm_ops,
260 },
261};
262module_platform_driver(regulator_haptic_driver);
263
264MODULE_AUTHOR("Jaewon Kim <jaewon02.kim@samsung.com>");
265MODULE_AUTHOR("Hyunhee Kim <hyunhee.kim@samsung.com>");
266MODULE_DESCRIPTION("Regulator haptic driver");
267MODULE_LICENSE("GPL");