[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141222191150.GA26768@kroah.com>
Date: Mon, 22 Dec 2014 11:11:50 -0800
From: Greg KH <gregkh@...uxfoundation.org>
To: Simone Weiss <simone.weiss@....de>
Cc: devel@...verdev.osuosl.org, linux-kernel@...cs.fau.de,
lidza.louina@...il.com, driverdev-devel@...uxdriverproject.org,
helene.gsaenger@...dium.fau.de, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [PATCH v2 2/6] dgnc/dgnc_sysfs.c: checkpatch: Use of
dev_err ? instead of printk
On Mon, Dec 22, 2014 at 07:43:56PM +0100, Simone Weiss wrote:
> I originally wanted to replace both of the printk cals in this file with dev_err().
> But in the function dgnc_create_driver_sysfiles only the struct pci_driver was given,
> sadly I coudn't figure out a way to get a struct device when only a struct pci_driver is given.
There should not be any driver-specific sysfs files, if so, something is
wrong here...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists