linux/drivers/w1/masters/w1-gpio.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * w1-gpio - GPIO w1 bus master driver
 *
 * Copyright (C) 2007 Ville Syrjala <[email protected]>
 */

#include <linux/delay.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/gpio/consumer.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/property.h>
#include <linux/types.h>

#include <linux/w1.h>

struct w1_gpio_ddata {};

static u8 w1_gpio_set_pullup(void *data, int delay)
{}

static void w1_gpio_write_bit(void *data, u8 bit)
{}

static u8 w1_gpio_read_bit(void *data)
{}

static int w1_gpio_probe(struct platform_device *pdev)
{}

static void w1_gpio_remove(struct platform_device *pdev)
{}

static const struct of_device_id w1_gpio_dt_ids[] =;
MODULE_DEVICE_TABLE(of, w1_gpio_dt_ids);

static struct platform_driver w1_gpio_driver =;

module_platform_driver();

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();