Staging: quickstart: Prefix remaining functions names with quickstart_
Signed-off-by: Szymon Janc <szymon@janc.net.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5c9ed5bedf
commit
7267d2610a
1 changed files with 9 additions and 9 deletions
|
@ -92,19 +92,19 @@ static struct acpi_driver quickstart_acpi_driver = {
|
||||||
struct input_dev *quickstart_input;
|
struct input_dev *quickstart_input;
|
||||||
|
|
||||||
/* Platform driver structs */
|
/* Platform driver structs */
|
||||||
static ssize_t buttons_show(struct device *dev,
|
static ssize_t quickstart_buttons_show(struct device *dev,
|
||||||
struct device_attribute *attr,
|
struct device_attribute *attr,
|
||||||
char *buf);
|
char *buf);
|
||||||
static ssize_t pressed_button_show(struct device *dev,
|
static ssize_t quickstart_pressed_button_show(struct device *dev,
|
||||||
struct device_attribute *attr,
|
struct device_attribute *attr,
|
||||||
char *buf);
|
char *buf);
|
||||||
static ssize_t pressed_button_store(struct device *dev,
|
static ssize_t quickstart_pressed_button_store(struct device *dev,
|
||||||
struct device_attribute *attr,
|
struct device_attribute *attr,
|
||||||
const char *buf,
|
const char *buf,
|
||||||
size_t count);
|
size_t count);
|
||||||
static DEVICE_ATTR(pressed_button, 0666, pressed_button_show,
|
static DEVICE_ATTR(pressed_button, 0666, quickstart_pressed_button_show,
|
||||||
pressed_button_store);
|
quickstart_pressed_button_store);
|
||||||
static DEVICE_ATTR(buttons, 0444, buttons_show, NULL);
|
static DEVICE_ATTR(buttons, 0444, quickstart_buttons_show, NULL);
|
||||||
static struct platform_device *pf_device;
|
static struct platform_device *pf_device;
|
||||||
static struct platform_driver pf_driver = {
|
static struct platform_driver pf_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
|
@ -114,7 +114,7 @@ static struct platform_driver pf_driver = {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Platform driver functions */
|
/* Platform driver functions */
|
||||||
static ssize_t buttons_show(struct device *dev,
|
static ssize_t quickstart_buttons_show(struct device *dev,
|
||||||
struct device_attribute *attr,
|
struct device_attribute *attr,
|
||||||
char *buf)
|
char *buf)
|
||||||
{
|
{
|
||||||
|
@ -136,7 +136,7 @@ static ssize_t buttons_show(struct device *dev,
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
|
||||||
static ssize_t pressed_button_show(struct device *dev,
|
static ssize_t quickstart_pressed_button_show(struct device *dev,
|
||||||
struct device_attribute *attr,
|
struct device_attribute *attr,
|
||||||
char *buf)
|
char *buf)
|
||||||
{
|
{
|
||||||
|
@ -146,7 +146,7 @@ static ssize_t pressed_button_show(struct device *dev,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static ssize_t pressed_button_store(struct device *dev,
|
static ssize_t quickstart_pressed_button_store(struct device *dev,
|
||||||
struct device_attribute *attr,
|
struct device_attribute *attr,
|
||||||
const char *buf, size_t count)
|
const char *buf, size_t count)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue