<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/staging/quickstart, branch v3.16</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/staging/quickstart?h=v3.16</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/staging/quickstart?h=v3.16'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-12-07T00:03:14Z</updated>
<entry>
<title>ACPI: Clean up inclusions of ACPI header files</title>
<updated>2013-12-07T00:03:14Z</updated>
<author>
<name>Lv Zheng</name>
<email>lv.zheng@intel.com</email>
</author>
<published>2013-12-03T00:49:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8b48463f89429af408ff695244dc627e1acff4f7'/>
<id>urn:sha1:8b48463f89429af408ff695244dc627e1acff4f7</id>
<content type='text'>
Replace direct inclusions of &lt;acpi/acpi.h&gt;, &lt;acpi/acpi_bus.h&gt; and
&lt;acpi/acpi_drivers.h&gt;, which are incorrect, with &lt;linux/acpi.h&gt;
inclusions and remove some inclusions of those files that aren't
necessary.

First of all, &lt;acpi/acpi.h&gt;, &lt;acpi/acpi_bus.h&gt; and &lt;acpi/acpi_drivers.h&gt;
should not be included directly from any files that are built for
CONFIG_ACPI unset, because that generally leads to build warnings about
undefined symbols in !CONFIG_ACPI builds.  For CONFIG_ACPI set,
&lt;linux/acpi.h&gt; includes those files and for CONFIG_ACPI unset it
provides stub ACPI symbols to be used in that case.

Second, there are ordering dependencies between those files that always
have to be met.  Namely, it is required that &lt;acpi/acpi_bus.h&gt; be included
prior to &lt;acpi/acpi_drivers.h&gt; so that the acpi_pci_root declarations the
latter depends on are always there.  And &lt;acpi/acpi.h&gt; which provides
basic ACPICA type declarations should always be included prior to any other
ACPI headers in CONFIG_ACPI builds.  That also is taken care of including
&lt;linux/acpi.h&gt; as appropriate.

Signed-off-by: Lv Zheng &lt;lv.zheng@intel.com&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: Matthew Garrett &lt;mjg59@srcf.ucam.org&gt;
Cc: Tony Luck &lt;tony.luck@intel.com&gt;
Cc: "H. Peter Anvin" &lt;hpa@zytor.com&gt;
Acked-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt; (drivers/pci stuff)
Acked-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt; (Xen stuff)
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>Staging / quickstart: remove reduplicate if(acpi_disabled) check</title>
<updated>2013-09-25T23:48:45Z</updated>
<author>
<name>Hanjun Guo</name>
<email>hanjun.guo@linaro.org</email>
</author>
<published>2013-09-22T11:05:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=11f9c3218beeebdd86157949ccdfff1c9f82ff75'/>
<id>urn:sha1:11f9c3218beeebdd86157949ccdfff1c9f82ff75</id>
<content type='text'>
In acpi_bus_register_driver(), there is an if (acpi_disabled) check,
so the if(acpi_disabled) before it is reduplicate, remove it.

Signed-off-by: Hanjun Guo &lt;hanjun.guo@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: quickstart: fix up sysfs file permissions</title>
<updated>2013-08-24T17:34:53Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2013-08-24T17:34:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3b7cf04f873d3317bdfeedb6c83396abd16f0955'/>
<id>urn:sha1:3b7cf04f873d3317bdfeedb6c83396abd16f0955</id>
<content type='text'>
Use the default DEVICE_ATTR_RO/RW macros to specify the file permissions
better, and make them easier to audit.

And did we really want any user to be able to write to this file, I kind
of doubt it...

Cc: Jiang Liu &lt;jiang.liu@huawei.com&gt;
Cc: Toshi Kani &lt;toshi.kani@hp.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ACPI: Remove useless type argument of driver .remove() operation</title>
<updated>2013-01-25T23:37:24Z</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rafael.j.wysocki@intel.com</email>
</author>
<published>2013-01-23T23:24:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=51fac8388a0325a43f0ae67453ece2c373e2ec28'/>
<id>urn:sha1:51fac8388a0325a43f0ae67453ece2c373e2ec28</id>
<content type='text'>
The second argument of ACPI driver .remove() operation is only used
by the ACPI processor driver and the value passed to that driver
through it is always available from the given struct acpi_device
object's removal_type field.  For this reason, the second ACPI driver
.remove() argument is in fact useless, so drop it.

Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
Reviewed-by: Jiang Liu &lt;jiang.liu@huawei.com&gt;
Acked-by: Toshi Kani &lt;toshi.kani@hp.com&gt;
Acked-by: Yinghai Lu &lt;yinghai@kernel.org&gt;
</content>
</entry>
<entry>
<title>Staging: quickstart: Fix compilation warning on 64 bit arch</title>
<updated>2012-02-14T04:08:56Z</updated>
<author>
<name>Szymon Janc</name>
<email>szymon@janc.net.pl</email>
</author>
<published>2012-02-10T20:05:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5f01f7f301db567a7a2b99d012db1c408ce0e9de'/>
<id>urn:sha1:5f01f7f301db567a7a2b99d012db1c408ce0e9de</id>
<content type='text'>
acpi_size is u32 or u64 depending on architecture. Cast it to
unsigned long and use %lu for printing.

This fix following build warning:
drivers/staging/quickstart/quickstart.c: In function ‘quickstart_acpi_ghid’:
drivers/staging/quickstart/quickstart.c:212:5: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘acpi_size’ [-Wformat]

Signed-off-by: Szymon Janc &lt;szymon@janc.net.pl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: quickstart: Bump driver version to 1.04</title>
<updated>2012-02-14T04:08:55Z</updated>
<author>
<name>Szymon Janc</name>
<email>szymon@janc.net.pl</email>
</author>
<published>2012-02-10T20:05:44Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=af5728e08afab1baeb97cc881e2d6158c69bae19'/>
<id>urn:sha1:af5728e08afab1baeb97cc881e2d6158c69bae19</id>
<content type='text'>
Signed-off-by: Szymon Janc &lt;szymon@janc.net.pl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: quickstart: Use scnprintf in quickstart_pressed_button_show</title>
<updated>2012-02-14T04:08:55Z</updated>
<author>
<name>Szymon Janc</name>
<email>szymon@janc.net.pl</email>
</author>
<published>2012-02-10T20:05:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e66912af2c205518b638321d466f6dcddba70e3a'/>
<id>urn:sha1:e66912af2c205518b638321d466f6dcddba70e3a</id>
<content type='text'>
Use scnprintf instead of snprintf in quickstart_pressed_button_show as
suggested in Documentation/filesystems/sysfs.txt.

Signed-off-by: Szymon Janc &lt;szymon@janc.net.pl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: quickstart: Use pr_err and pr_info for logs</title>
<updated>2012-02-09T17:41:33Z</updated>
<author>
<name>Szymon Janc</name>
<email>szymon@janc.net.pl</email>
</author>
<published>2012-01-22T18:50:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=74eabe4ca2f6cf0e7e60e73017206e963f6b170a'/>
<id>urn:sha1:74eabe4ca2f6cf0e7e60e73017206e963f6b170a</id>
<content type='text'>
Signed-off-by: Szymon Janc &lt;szymon@janc.net.pl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: quickstart: Rename quickstart_btn to quickstart_button</title>
<updated>2012-02-09T01:16:51Z</updated>
<author>
<name>Szymon Janc</name>
<email>szymon@janc.net.pl</email>
</author>
<published>2012-01-11T22:22:49Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3c92e38dc4d803a7f90a08277a9d59f920963e0c'/>
<id>urn:sha1:3c92e38dc4d803a7f90a08277a9d59f920963e0c</id>
<content type='text'>
Signed-off-by: Szymon Janc &lt;szymon@janc.net.pl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: quickstart: Use %u for printing button id</title>
<updated>2012-02-09T01:16:50Z</updated>
<author>
<name>Szymon Janc</name>
<email>szymon@janc.net.pl</email>
</author>
<published>2012-01-11T22:22:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=21c1ddf31415f5db34975760e847bf6033b4f9db'/>
<id>urn:sha1:21c1ddf31415f5db34975760e847bf6033b4f9db</id>
<content type='text'>
Button id is of unsigned int type.

Signed-off-by: Szymon Janc &lt;szymon@janc.net.pl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
