aqt1000-utils.h 776 B

12345678910111213141516171819202122
  1. /* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. */
  12. #ifndef __WCD9XXX_UTILS_H__
  13. #define __WCD9XXX_UTILS_H__
  14. #include <linux/kernel.h>
  15. #include <linux/device.h>
  16. #include <linux/regmap.h>
  17. struct regmap *aqt1000_regmap_init(struct device *dev,
  18. const struct regmap_config *config);
  19. #endif