summaryrefslogtreecommitdiff
path: root/drivers/iio/accel/mma7455.h
blob: 2b1152c53d4f5ffb92262fd93e37954650d16501 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * IIO accel driver for Freescale MMA7455L 3-axis 10-bit accelerometer
 * Copyright 2015 Joachim Eastwood <manabian@gmail.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef __MMA7455_H
#define __MMA7455_H

extern const struct regmap_config mma7455_core_regmap;

int mma7455_core_probe(struct device *dev, struct regmap *regmap,
		       const char *name);
int mma7455_core_remove(struct device *dev);

#endif