linux-stable/drivers/ptp
Dmitry Torokhov af59e717d5 ptp: use is_visible method to hide unused attributes
Instead of creating selected attributes after the device is created (and
after userspace potentially seen uevent), lets use attribute group
is_visible() method to control which attributes are shown. This will allow
us to create all attributes (except "pins" group, which will be taken care
of later) before userspace gets notified about new ptp class device.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-17 11:03:06 -05:00
..
Kconfig posix-timers: Make them configurable 2016-11-16 09:26:35 +01:00
Makefile
ptp_chardev.c drivers/ptp: Fix kernel memory disclosure 2016-10-13 10:20:06 -04:00
ptp_clock.c ptp: do not explicitly set drvdata in ptp_clock_register() 2017-02-17 11:03:05 -05:00
ptp_ixp46x.c ptp: ixp46x: remove NO_IRQ handling 2016-09-06 16:57:02 -07:00
ptp_pch.c ptp: pch: convert to the 64 bit get/set time methods. 2015-03-31 12:01:19 -04:00
ptp_private.h ptp: expose the programmable pins via sysfs 2014-03-21 14:21:14 -04:00
ptp_sysfs.c ptp: use is_visible method to hide unused attributes 2017-02-17 11:03:06 -05:00