linux/drivers/peci/sysfs.c

// SPDX-License-Identifier: GPL-2.0-only
// Copyright (c) 2021 Intel Corporation

#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/peci.h>

#include "internal.h"

static int rescan_controller(struct device *dev, void *data)
{}

static ssize_t rescan_store(const struct bus_type *bus, const char *buf, size_t count)
{}
static BUS_ATTR_WO(rescan);

static struct attribute *peci_bus_attrs[] =;

static const struct attribute_group peci_bus_group =;

const struct attribute_group *peci_bus_groups[] =;

static ssize_t remove_store(struct device *dev, struct device_attribute *attr,
			    const char *buf, size_t count)
{}
static DEVICE_ATTR_IGNORE_LOCKDEP(remove, 0200, NULL, remove_store);

static struct attribute *peci_device_attrs[] =;

static const struct attribute_group peci_device_group =;

const struct attribute_group *peci_device_groups[] =;