Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb620d1e authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drivers: can: Enclose mcp25xxfd_dump_regs into CONFIG_DEBUG_FS"

parents 30bbe6f2 110ef5d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3945,6 +3945,7 @@ static const struct spi_device_id mcp25xxfd_id_table[] = {
};
MODULE_DEVICE_TABLE(spi, mcp25xxfd_id_table);

#if defined(CONFIG_DEBUG_FS)
static int mcp25xxfd_dump_regs(struct seq_file *file, void *offset)
{
	struct spi_device *spi = file->private;
@@ -3984,7 +3985,6 @@ static int mcp25xxfd_dump_regs(struct seq_file *file, void *offset)
	return 0;
}

#if defined(CONFIG_DEBUG_FS)
static void mcp25xxfd_debugfs_add(struct mcp25xxfd_priv *priv)
{
	struct dentry *root, *fifousage, *fifoaddr, *rx, *tx, *status,