mm, page_alloc: set alloc_flags only once in slowpath
[linux/fpc-iii.git] / drivers / iio / accel / mma7455.h
blob2b1152c53d4f5ffb92262fd93e37954650d16501
1 /*
2 * IIO accel driver for Freescale MMA7455L 3-axis 10-bit accelerometer
3 * Copyright 2015 Joachim Eastwood <manabian@gmail.com>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 */
10 #ifndef __MMA7455_H
11 #define __MMA7455_H
13 extern const struct regmap_config mma7455_core_regmap;
15 int mma7455_core_probe(struct device *dev, struct regmap *regmap,
16 const char *name);
17 int mma7455_core_remove(struct device *dev);
19 #endif