linux/drivers/pps/sysfs.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * PPS sysfs support
 *
 * Copyright (C) 2007-2009   Rodolfo Giometti <[email protected]>
 */


#include <linux/device.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/pps_kernel.h>

/*
 * Attribute functions
 */

static ssize_t assert_show(struct device *dev, struct device_attribute *attr,
			   char *buf)
{}
static DEVICE_ATTR_RO(assert);

static ssize_t clear_show(struct device *dev, struct device_attribute *attr,
			  char *buf)
{}
static DEVICE_ATTR_RO(clear);

static ssize_t mode_show(struct device *dev, struct device_attribute *attr,
			 char *buf)
{}
static DEVICE_ATTR_RO(mode);

static ssize_t echo_show(struct device *dev, struct device_attribute *attr,
			 char *buf)
{}
static DEVICE_ATTR_RO(echo);

static ssize_t name_show(struct device *dev, struct device_attribute *attr,
			 char *buf)
{}
static DEVICE_ATTR_RO(name);

static ssize_t path_show(struct device *dev, struct device_attribute *attr,
			 char *buf)
{}
static DEVICE_ATTR_RO(path);

static struct attribute *pps_attrs[] =;

static const struct attribute_group pps_group =;

const struct attribute_group *pps_groups[] =;